diff options
author | Eric W. Biederman <[email protected]> | 2018-10-22 10:21:38 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2018-11-08 00:14:21 -0600 |
commit | 25d202ed820ee347edec0bf3bf553544556bf64b (patch) | |
tree | b4cfb10402b67f208c0dfe070150d7a066d58f04 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd (diff) |
mount: Retest MNT_LOCKED in do_umount
It was recently pointed out that the one instance of testing MNT_LOCKED
outside of the namespace_sem is in ksys_umount.
Fix that by adding a test inside of do_umount with namespace_sem and
the mount_lock held. As it helps to fail fails the existing test is
maintained with an additional comment pointing out that it may be racy
because the locks are not held.
Cc: [email protected]
Reported-by: Al Viro <[email protected]>
Fixes: 5ff9d8a65ce8 ("vfs: Lock in place mounts from more privileged users")
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions