summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-03-08 16:16:16 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2021-03-21 16:44:02 +0100
commit2be7828c9fefc8cd205d1948faac48da8ce6c2ef (patch)
treecf2287e9f7cf9859a50000ea44c24873a72d3a71 /fs/autofs/autofs_i.h
parentconstify dentry argument of dentry_path()/dentry_path_raw() (diff)
downloadlinux-2be7828c9fefc8cd205d1948faac48da8ce6c2ef.tar.xz
linux-2be7828c9fefc8cd205d1948faac48da8ce6c2ef.zip
get rid of autofs_getpath()
allow wq->name.name to point not at the beginning of the object containing the string, with wq->offset telling how far into it we are. Then we can bloody well just use dentry_path_raw() instead of autofs_getpath() - the only real difference is that dentry_path_raw() puts the result into the end of buffer and returns where it starts. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs/autofs_i.h')
-rw-r--r--fs/autofs/autofs_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h
index 054f97b07754..918826eaceea 100644
--- a/fs/autofs/autofs_i.h
+++ b/fs/autofs/autofs_i.h
@@ -87,6 +87,7 @@ struct autofs_wait_queue {
autofs_wqt_t wait_queue_token;
/* We use the following to see what we are waiting for */
struct qstr name;
+ u32 offset;
u32 dev;
u64 ino;
kuid_t uid;