diff options
author | David Howells <dhowells@redhat.com> | 2011-01-14 19:04:05 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-15 20:07:33 -0500 |
commit | d18610b0ce9eb48c60649d8fcbf68374c84349d3 (patch) | |
tree | 58a4088b75a14a35e343b7ee6a4ba57d63792270 /fs/afs/internal.h | |
parent | 6f45b65672c8017d5e210e338bb5858a938ef445 (diff) | |
download | op-kernel-dev-d18610b0ce9eb48c60649d8fcbf68374c84349d3.zip op-kernel-dev-d18610b0ce9eb48c60649d8fcbf68374c84349d3.tar.gz |
AFS: Use d_automount() rather than abusing follow_link()
Make AFS use the new d_automount() dentry operation rather than abusing
follow_link() on directories.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 58c633b..5a9b684 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -592,6 +592,7 @@ extern const struct inode_operations afs_mntpt_inode_operations; extern const struct inode_operations afs_autocell_inode_operations; extern const struct file_operations afs_mntpt_file_operations; +extern struct vfsmount *afs_d_automount(struct path *); extern int afs_mntpt_check_symlink(struct afs_vnode *, struct key *); extern void afs_mntpt_kill_timer(void); |