]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5e9d2a26e2e753df7a0ba6399466ea67101ca49
treecf2287e9f7cf9859a50000ea44c24873a72d3a71
parent847c39254440a0f0dc8dbf810242c90d94f0a9dd
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