]> git.baikalelectronics.ru Git - kernel.git/commit
autofs: change autofs4_wait() to take struct path
authorIan Kent <ikent@redhat.com>
Wed, 23 Nov 2016 21:03:42 +0000 (08:03 +1100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Dec 2016 01:51:48 +0000 (20:51 -0500)
commitedb775dea2779c27a683b4a1d59edba950b0e0c2
tree3d64641e78b2926cb8089494ccdb10f19e033f40
parent37e9bc5e2ea92fb41ebcdd1e87ec166575cd27ca
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>
fs/autofs4/autofs_i.h
fs/autofs4/expire.c
fs/autofs4/root.c
fs/autofs4/waitq.c