summaryrefslogtreecommitdiff
path: root/lib/iov_iter.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-01-04 23:25:34 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-04 23:31:58 +0300
commita0a6df9afcaf439a6b4c88a3b522e3d05fdef46f (patch)
tree7ef2ed36a935d9643b6e6b50988054a603187755 /lib/iov_iter.c
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-a0a6df9afcaf439a6b4c88a3b522e3d05fdef46f.tar.xz
umount(2): move the flag validity checks first
Unfortunately, there's userland code that used to rely upon these checks being done before anything else to check for UMOUNT_NOFOLLOW support. That broke in 41525f56e256 ("fs: refactor ksys_umount"). Separate those from the rest of checks and move them to ksys_umount(); unlike everything else in there, this can be sanely done there. Reported-by: Sargun Dhillon <sargun@sargun.me> Fixes: 41525f56e256 ("fs: refactor ksys_umount") Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions