zdtm: lock can belong to child or parent
zdtm: lock can belong to child or parent

Locks created by flock() are associated with an open file description
This means that duplicate file descriptors (created by, for  example,
fork or  dup)  refer  to  the  same  lock.

Reported-by: Mr Jenkins
Signed-off-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

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