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 a45ba4f267fe..ad8ea9bc2518 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1318,7 +1318,7 @@ SYSCALL_DEFINE2(umount, char __user *, name, int, flags) | |||
1318 | if (!(flags & UMOUNT_NOFOLLOW)) | 1318 | if (!(flags & UMOUNT_NOFOLLOW)) |
1319 | lookup_flags |= LOOKUP_FOLLOW; | 1319 | lookup_flags |= LOOKUP_FOLLOW; |
1320 | 1320 | ||
1321 | retval = user_path_at(AT_FDCWD, name, lookup_flags, &path); | 1321 | retval = user_path_umountat(AT_FDCWD, name, lookup_flags, &path); |
1322 | if (retval) | 1322 | if (retval) |
1323 | goto out; | 1323 | goto out; |
1324 | mnt = real_mount(path.mnt); | 1324 | mnt = real_mount(path.mnt); |