get rid of autofs_getpath()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Mar 2021 15:16:16 +0000 (10:16 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 Mar 2021 15:44:02 +0000 (11:44 -0400)
commit2be7828c9fefc8cd205d1948faac48da8ce6c2ef
treecf2287e9f7cf9859a50000ea44c24873a72d3a71
parenta2bbe66493ee380eb25e080e7fcdd1278a847f7e
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>
fs/autofs/autofs_i.h
fs/autofs/waitq.c