mount: don't destruct an external mount-namespace (v2)
mount: don't destruct an external mount-namespace (v2)

If a parent mount point is shared with exteranl mntns, a child will be
umounted from the external mntns too.

For example:
$ mount -t tmpfs xxx /root/tmp/
$ mount --make-shared tmp
$ mkdir tmp/xxx
$ mount -t tmpfs xxx /root/tmp/xxx
$ touch tmp/xxx/a

$ unshare -m umount tmp/xxx
$ ls -l tmp/xxx/a
ls: cannot access tmp/xxx/a: No such file or directory

This patch changes a parent mnt to private for umounting childrens.

v2: exit if a mount point can not be marked ad private

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

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