aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/storage/debug.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2016-05-27 14:50:05 -0500
committerEric W. Biederman <[email protected]>2016-06-06 20:52:03 -0500
commitd71ed6c930ac7d8f88f3cef6624a7e826392d61f (patch)
tree322444a9a4901a7c43dfea1fb5cd056306288eeb /drivers/usb/storage/debug.c
parent97c1df3e54e811aed484a036a798b4b25d002ecf (diff)
mnt: fs_fully_visible test the proper mount for MNT_LOCKED
MNT_LOCKED implies on a child mount implies the child is locked to the parent. So while looping through the children the children should be tested (not their parent). Typically an unshare of a mount namespace locks all mounts together making both the parent and the slave as locked but there are a few corner cases where other things work. Cc: [email protected] Fixes: ceeb0e5d39fc ("vfs: Ignore unlocked mounts in fs_fully_visible") Reported-by: Seth Forshee <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'drivers/usb/storage/debug.c')
0 files changed, 0 insertions, 0 deletions