]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit015f5be3c743bbccbcc5b1b719d9d01a0cfbd602
treeb66067b47a1104c3ae3ccd4248c9b41d5b869c5e
parentc90183bb6c13b1a91a3e99f3d25c8bd6cf7377a7
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