summaryrefslogtreecommitdiffstats
path: root/fs/coda
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-07-14 16:42:44 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-08-30 21:30:13 -0400
commitce6595a28a15c874aee374757dcd08f537d7b24d (patch)
tree1634deb62c3a778ceb3f0ea0517bfbe0e3003590 /fs/coda
parent6b61aed06a3b0eb8e8d49142ddd1e101a064444d (diff)
downloadlinux-stable-ce6595a28a15c874aee374757dcd08f537d7b24d.tar.gz
linux-stable-ce6595a28a15c874aee374757dcd08f537d7b24d.tar.bz2
linux-stable-ce6595a28a15c874aee374757dcd08f537d7b24d.zip
kill the last users of user_{path,lpath,path_dir}()
old wrappers with few callers remaining; put them out of their misery... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coda')
-rw-r--r--fs/coda/pioctl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/coda/pioctl.c b/fs/coda/pioctl.c
index 644d48c12ce8..3aec27e5eb82 100644
--- a/fs/coda/pioctl.c
+++ b/fs/coda/pioctl.c
@@ -63,11 +63,8 @@ static long coda_pioctl(struct file *filp, unsigned int cmd,
* Look up the pathname. Note that the pathname is in
* user memory, and namei takes care of this
*/
- if (data.follow)
- error = user_path(data.path, &path);
- else
- error = user_lpath(data.path, &path);
-
+ error = user_path_at(AT_FDCWD, data.path,
+ data.follow ? LOOKUP_FOLLOW : 0, &path);
if (error)
return error;