img: Keep the copy of flags value in open_image_at
img: Keep the copy of flags value in open_image_at

We drop the O_OPT from flags and will drop one more. So
instead of a set of bools let's have the flags copy at
hands.

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>
Acked-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>

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