autofs: change autofs4_wait() to take struct path
In order to use the functions path_is_mountpoint() and path_has_submounts() autofs needs to pass a struct path in several places. Now change autofs4_wait() to take a struct path instead of a struct dentry. Link: http://lkml.kernel.org/r/20161011053413.27645.84666.stgit@pluto.themaw.net Signed-off-by: Ian Kent <raven@themaw.net> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Omar Sandoval <osandov@osandov.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@ -345,8 +345,9 @@ static int validate_request(struct autofs_wait_queue **wait,
|
||||
}
|
||||
|
||||
int autofs4_wait(struct autofs_sb_info *sbi,
|
||||
struct dentry *dentry, enum autofs_notify notify)
|
||||
const struct path *path, enum autofs_notify notify)
|
||||
{
|
||||
struct dentry *dentry = path->dentry;
|
||||
struct autofs_wait_queue *wq;
|
||||
struct qstr qstr;
|
||||
char *name;
|
||||
|
Reference in New Issue
Block a user