autofs4: Add d_automount() dentry operation
authorIan Kent <raven@themaw.net>
Fri, 14 Jan 2011 18:45:58 +0000 (18:45 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jan 2011 01:07:37 +0000 (20:07 -0500)
commit10584211e48036182212b598cc53331776406d60
treeb66067b47a1104c3ae3ccd4248c9b41d5b869c5e
parentdb3729153e82ba3ada89681f26c4f1b6d6807a80
autofs4: Add d_automount() dentry operation

Add a function to use the newly defined ->d_automount() dentry operation
for triggering mounts instead of doing the user space callback in ->lookup()
and ->d_revalidate().

Note, to be useful the subsequent patch to add the ->d_manage() dentry
operation is also needed so the discussion of functionality is deferred to
that patch.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/autofs_i.h
fs/autofs4/expire.c
fs/autofs4/inode.c
fs/autofs4/root.c