summaryrefslogtreecommitdiffstats
path: root/fs/minix/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/minix/namei.c')
-rw-r--r--fs/minix/namei.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/minix/namei.c b/fs/minix/namei.c
index baef110d2..c18b46a37 100644
--- a/fs/minix/namei.c
+++ b/fs/minix/namei.c
@@ -106,13 +106,9 @@ static int minix_hash(struct dentry *dentry, struct qstr *qstr)
#endif
struct dentry_operations minix_dentry_operations = {
- 0, /* revalidate */
#ifndef NO_TRUNCATE
- minix_hash,
-#else
- 0,
+ d_hash: minix_hash,
#endif
- 0 /* compare */
};
static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry)