diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index fc2b5226278d..25845d1b300b 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1321,7 +1321,7 @@ SYSCALL_DEFINE2(umount, char __user *, name, int, flags) | |||
1321 | if (!(flags & UMOUNT_NOFOLLOW)) | 1321 | if (!(flags & UMOUNT_NOFOLLOW)) |
1322 | lookup_flags |= LOOKUP_FOLLOW; | 1322 | lookup_flags |= LOOKUP_FOLLOW; |
1323 | 1323 | ||
1324 | retval = user_path_umountat(AT_FDCWD, name, lookup_flags, &path); | 1324 | retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); |
1325 | if (retval) | 1325 | if (retval) |
1326 | goto out; | 1326 | goto out; |
1327 | mnt = real_mount(path.mnt); | 1327 | mnt = real_mount(path.mnt); |