diff options
Diffstat (limited to 'fs/hpfs/dentry.c')
-rw-r--r-- | fs/hpfs/dentry.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/hpfs/dentry.c b/fs/hpfs/dentry.c index 32c13a94e1e..05d4816e4e7 100644 --- a/fs/hpfs/dentry.c +++ b/fs/hpfs/dentry.c | |||
@@ -58,12 +58,7 @@ static int hpfs_compare_dentry(const struct dentry *parent, | |||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||
61 | static const struct dentry_operations hpfs_dentry_operations = { | 61 | const struct dentry_operations hpfs_dentry_operations = { |
62 | .d_hash = hpfs_hash_dentry, | 62 | .d_hash = hpfs_hash_dentry, |
63 | .d_compare = hpfs_compare_dentry, | 63 | .d_compare = hpfs_compare_dentry, |
64 | }; | 64 | }; |
65 | |||
66 | void hpfs_set_dentry_operations(struct dentry *dentry) | ||
67 | { | ||
68 | d_set_d_op(dentry, &hpfs_dentry_operations); | ||
69 | } | ||