From: Eric W. Biederman Date: Wed, 1 Apr 2015 23:30:06 +0000 (-0500) Subject: mnt: Update detach_mounts to leave mounts connected X-Git-Tag: omap-for-v4.1/fixes-rc1~99^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0c9c0afd2fc958ffa34b697972721d81df8a56f;p=pandora-kernel.git mnt: Update detach_mounts to leave mounts connected Now that it is possible to lazily unmount an entire mount tree and leave the individual mounts connected to each other add a new flag UMOUNT_CONNECTED to umount_tree to force this behavior and use this flag in detach_mounts. This closes a bug where the deletion of a file or directory could trigger an unmount and reveal data under a mount point. Cc: stable@vger.kernel.org Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed