restore: die properly if restore_one_task fails
restore: die properly if restore_one_task fails

This is really just the last bit of c32046c9; if restore_one_task() fails, we
need to do the same futex wakeup we do everywhere else in this function.

v2: use err instead of err_fini_mnt after mount has been finalized normally

Signed-off-by: Tycho Andersen <10c18fcb898ee6b17d6575d444b125d10b3f4d6a@canonical.com>
Acked-by: Acked-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@parallels.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

rentzsch/criu,gonkulator/criu,ldu4/criu,gablg1/criu,gablg1/criu,sdgdsffdsfff/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,gonkulator/criu,gablg1/criu,KKoukiou/criu-remote,biddyweb/criu,gablg1/criu,kawamuray/criu,marcosnils/criu,gonkulator/criu,efiop/criu,wtf42/criu,biddyweb/criu,AuthenticEshkinKot/criu,marcosnils/criu,LK4D4/criu,AuthenticEshkinKot/criu,tych0/criu,svloyso/criu,eabatalov/criu,LK4D4/criu,wtf42/criu,kawamuray/criu,sdgdsffdsfff/criu,sdgdsffdsfff/criu,tych0/criu,ldu4/criu,ldu4/criu,gablg1/criu,KKoukiou/criu-remote,eabatalov/criu,kawamuray/criu,gonkulator/criu,kawamuray/criu,fbocharov/criu,svloyso/criu,fbocharov/criu,biddyweb/criu,tych0/criu,ldu4/criu,efiop/criu,fbocharov/criu,biddyweb/criu,eabatalov/criu,biddyweb/criu,tych0/criu,AuthenticEshkinKot/criu,KKoukiou/criu-remote,sdgdsffdsfff/criu,biddyweb/criu,svloyso/criu,rentzsch/criu,gonkulator/criu,rentzsch/criu,wtf42/criu,rentzsch/criu,eabatalov/criu,rentzsch/criu,eabatalov/criu,svloyso/criu,marcosnils/criu,kawamuray/criu,efiop/criu,wtf42/criu,fbocharov/criu,svloyso/criu,AuthenticEshkinKot/criu,tych0/criu,eabatalov/criu,sdgdsffdsfff/criu,wtf42/criu,LK4D4/criu,gablg1/criu,rentzsch/criu,LK4D4/criu,LK4D4/criu,fbocharov/criu,KKoukiou/criu-remote,svloyso/criu,marcosnils/criu,kawamuray/criu,ldu4/criu,efiop/criu,LK4D4/criu,tych0/criu,AuthenticEshkinKot/criu,fbocharov/criu,gonkulator/criu,sdgdsffdsfff/criu,ldu4/criu,KKoukiou/criu-remote,marcosnils/criu,efiop/criu,wtf42/criu,marcosnils/criu,efiop/criu