summaryrefslogtreecommitdiff
path: root/fs/hpfs/dentry.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-01-12 16:12:05 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-12 20:02:47 -0500
commit43d344d7722f9b914849ba0014342111a9a0b03e (patch)
treec82358306b77b2ccf94059de02fb3df3ac1593af /fs/hpfs/dentry.c
parent0df6a63f8735a7c8a877878bc215d4312e41ef81 (diff)
switch hpfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/dentry.c')
-rw-r--r--fs/hpfs/dentry.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/hpfs/dentry.c b/fs/hpfs/dentry.c
index 32c13a94e1e9..05d4816e4e77 100644
--- a/fs/hpfs/dentry.c
+++ b/fs/hpfs/dentry.c
@@ -58,12 +58,7 @@ static int hpfs_compare_dentry(const struct dentry *parent,
return 0;
}
-static const struct dentry_operations hpfs_dentry_operations = {
+const struct dentry_operations hpfs_dentry_operations = {
.d_hash = hpfs_hash_dentry,
.d_compare = hpfs_compare_dentry,
};
-
-void hpfs_set_dentry_operations(struct dentry *dentry)
-{
- d_set_d_op(dentry, &hpfs_dentry_operations);
-}