summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-03-08 10:16:16 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2021-03-21 11:44:02 -0400
commit2be7828c9fefc8cd205d1948faac48da8ce6c2ef (patch)
treecf2287e9f7cf9859a50000ea44c24873a72d3a71 /fs/autofs/autofs_i.h
parenta2bbe66493ee380eb25e080e7fcdd1278a847f7e (diff)
downloadlinux-2be7828c9fefc8cd205d1948faac48da8ce6c2ef.tar.gz
linux-2be7828c9fefc8cd205d1948faac48da8ce6c2ef.tar.bz2
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;