diff options
author | David Howells <dhowells@redhat.com> | 2011-01-14 14:04:05 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-15 20:07:33 -0500 |
commit | d18610b0ce9eb48c60649d8fcbf68374c84349d3 (patch) | |
tree | 58a4088b75a14a35e343b7ee6a4ba57d63792270 /fs/afs/dir.c | |
parent | 6f45b65672c8017d5e210e338bb5858a938ef445 (diff) |
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/dir.c')
-rw-r--r-- | fs/afs/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index e6a4ab980e31..20c106f24927 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
@@ -66,6 +66,7 @@ const struct dentry_operations afs_fs_dentry_operations = { | |||
66 | .d_revalidate = afs_d_revalidate, | 66 | .d_revalidate = afs_d_revalidate, |
67 | .d_delete = afs_d_delete, | 67 | .d_delete = afs_d_delete, |
68 | .d_release = afs_d_release, | 68 | .d_release = afs_d_release, |
69 | .d_automount = afs_d_automount, | ||
69 | }; | 70 | }; |
70 | 71 | ||
71 | #define AFS_DIR_HASHTBL_SIZE 128 | 72 | #define AFS_DIR_HASHTBL_SIZE 128 |