diff options
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 44e0a6c57e87..a8b31da19b93 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -626,7 +626,7 @@ static struct dentry *fuse_get_dentry(struct super_block *sb, | |||
626 | 626 | ||
627 | entry = d_obtain_alias(inode); | 627 | entry = d_obtain_alias(inode); |
628 | if (!IS_ERR(entry) && get_node_id(inode) != FUSE_ROOT_ID) { | 628 | if (!IS_ERR(entry) && get_node_id(inode) != FUSE_ROOT_ID) { |
629 | entry->d_op = &fuse_dentry_operations; | 629 | d_set_d_op(entry, &fuse_dentry_operations); |
630 | fuse_invalidate_entry_cache(entry); | 630 | fuse_invalidate_entry_cache(entry); |
631 | } | 631 | } |
632 | 632 | ||
@@ -728,7 +728,7 @@ static struct dentry *fuse_get_parent(struct dentry *child) | |||
728 | 728 | ||
729 | parent = d_obtain_alias(inode); | 729 | parent = d_obtain_alias(inode); |
730 | if (!IS_ERR(parent) && get_node_id(inode) != FUSE_ROOT_ID) { | 730 | if (!IS_ERR(parent) && get_node_id(inode) != FUSE_ROOT_ID) { |
731 | parent->d_op = &fuse_dentry_operations; | 731 | d_set_d_op(parent, &fuse_dentry_operations); |
732 | fuse_invalidate_entry_cache(parent); | 732 | fuse_invalidate_entry_cache(parent); |
733 | } | 733 | } |
734 | 734 | ||