summaryrefslogtreecommitdiff
path: root/fs/hpfs/dentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hpfs/dentry.c')
-rw-r--r--fs/hpfs/dentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/dentry.c b/fs/hpfs/dentry.c
index 35526df1fd3..32c13a94e1e 100644
--- a/fs/hpfs/dentry.c
+++ b/fs/hpfs/dentry.c
@@ -65,5 +65,5 @@ static const struct dentry_operations hpfs_dentry_operations = {
void hpfs_set_dentry_operations(struct dentry *dentry)
{
- dentry->d_op = &hpfs_dentry_operations;
+ d_set_d_op(dentry, &hpfs_dentry_operations);
}