aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r--fs/fat/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 8cccfebee180..206351af7c58 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -750,7 +750,7 @@ static struct dentry *fat_fh_to_dentry(struct super_block *sb,
750 */ 750 */
751 result = d_obtain_alias(inode); 751 result = d_obtain_alias(inode);
752 if (!IS_ERR(result)) 752 if (!IS_ERR(result))
753 result->d_op = sb->s_root->d_op; 753 d_set_d_op(result, sb->s_root->d_op);
754 return result; 754 return result;
755} 755}
756 756
@@ -800,7 +800,7 @@ static struct dentry *fat_get_parent(struct dentry *child)
800 800
801 parent = d_obtain_alias(inode); 801 parent = d_obtain_alias(inode);
802 if (!IS_ERR(parent)) 802 if (!IS_ERR(parent))
803 parent->d_op = sb->s_root->d_op; 803 d_set_d_op(parent, sb->s_root->d_op);
804out: 804out:
805 unlock_super(sb); 805 unlock_super(sb);
806 806