summaryrefslogtreecommitdiffstats
path: root/fs/affs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/affs/namei.c')
-rw-r--r--fs/affs/namei.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/affs/namei.c b/fs/affs/namei.c
index 43085a64b..38e5bccbe 100644
--- a/fs/affs/namei.c
+++ b/fs/affs/namei.c
@@ -44,10 +44,8 @@ affs_intl_toupper(unsigned int ch)
static int affs_hash_dentry(struct dentry *, struct qstr *);
static int affs_compare_dentry(struct dentry *, struct qstr *, struct qstr *);
struct dentry_operations affs_dentry_operations = {
- NULL, /* d_validate */
- affs_hash_dentry, /* d_hash */
- affs_compare_dentry, /* d_compare */
- NULL /* d_delete */
+ d_hash: affs_hash_dentry,
+ d_compare: affs_compare_dentry,
};
/*