vfs: Ignore unlocked mounts in fs_fully_visible
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 7 Jan 2015 14:10:09 +0000 (08:10 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Jul 2015 15:36:35 +0000 (10:36 -0500)
Limit the mounts fs_fully_visible considers to locked mounts.
Unlocked can always be unmounted so considering them adds hassle
but no security benefit.

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namespace.c

diff --cc fs/namespace.c
Simple merge