]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/hfsplus/ioctl.c
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[karo-tx-linux.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;