diff options
Diffstat (limited to 'fs/9p/vfs_dentry.c')
-rw-r--r-- | fs/9p/vfs_dentry.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/fs/9p/vfs_dentry.c b/fs/9p/vfs_dentry.c index f039b104a98e..b03dd23feda8 100644 --- a/fs/9p/vfs_dentry.c +++ b/fs/9p/vfs_dentry.c | |||
@@ -43,23 +43,6 @@ | |||
43 | #include "fid.h" | 43 | #include "fid.h" |
44 | 44 | ||
45 | /** | 45 | /** |
46 | * v9fs_dentry_delete - called when dentry refcount equals 0 | ||
47 | * @dentry: dentry in question | ||
48 | * | ||
49 | * By returning 1 here we should remove cacheing of unused | ||
50 | * dentry components. | ||
51 | * | ||
52 | */ | ||
53 | |||
54 | static int v9fs_dentry_delete(const struct dentry *dentry) | ||
55 | { | ||
56 | p9_debug(P9_DEBUG_VFS, " dentry: %s (%p)\n", | ||
57 | dentry->d_name.name, dentry); | ||
58 | |||
59 | return 1; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * v9fs_cached_dentry_delete - called when dentry refcount equals 0 | 46 | * v9fs_cached_dentry_delete - called when dentry refcount equals 0 |
64 | * @dentry: dentry in question | 47 | * @dentry: dentry in question |
65 | * | 48 | * |
@@ -134,6 +117,6 @@ const struct dentry_operations v9fs_cached_dentry_operations = { | |||
134 | }; | 117 | }; |
135 | 118 | ||
136 | const struct dentry_operations v9fs_dentry_operations = { | 119 | const struct dentry_operations v9fs_dentry_operations = { |
137 | .d_delete = v9fs_dentry_delete, | 120 | .d_delete = always_delete_dentry, |
138 | .d_release = v9fs_dentry_release, | 121 | .d_release = v9fs_dentry_release, |
139 | }; | 122 | }; |