restore: shmid_id structure from find_shmem_id() function
restore: shmid_id structure from find_shmem_id() function

Returning shmid value of not enough, because SYSV IPC shmid equal to zero is a
valid value.

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

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