arm64: rockchip_defconfig: disable unused ethernet driver
[firefly-linux-kernel-4.4.55.git] / fs / hfsplus / ioctl.c
index 8e98f5db6ad685d0eae15e5da74fe62d57c75cdf..0624ce4e07022e3f047683a70cbbf1cdad6ff174 100644 (file)
@@ -26,7 +26,7 @@
 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags)
 {
        struct dentry *dentry = file->f_path.dentry;
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        struct hfsplus_sb_info *sbi = HFSPLUS_SB(inode->i_sb);
        struct hfsplus_vh *vh = sbi->s_vhdr;
        struct hfsplus_vh *bvh = sbi->s_backup_vhdr;