diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-14 18:19:57 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-22 00:24:45 +0200 |
commit | 39145f5f0cc924b494ad55a2bc9c1b4969b5a038 (patch) | |
tree | 559d3b73c4a7658cafc3eca00412793618f035f8 /fs/namespace.c | |
parent | filename_lookup(): audit_inode() argument is always 0 (diff) | |
download | linux-39145f5f0cc924b494ad55a2bc9c1b4969b5a038.tar.xz linux-39145f5f0cc924b494ad55a2bc9c1b4969b5a038.zip |
filename_mountpoint(): make LOOKUP_NO_EVAL unconditional there
user_path_mountpoint_at() always gets it and the reasons to have it
there (i.e. in umount(2)) apply to kern_path_mountpoint() callers
as well.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 6464ea4acba9..697f8820dff5 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1675,8 +1675,6 @@ int ksys_umount(char __user *name, int flags) if (!(flags & UMOUNT_NOFOLLOW)) lookup_flags |= LOOKUP_FOLLOW; - lookup_flags |= LOOKUP_NO_EVAL; - retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); if (retval) goto out; |