KVM: PPC: Book3S HV: Add support for DABRX register on POWER7
[firefly-linux-kernel-4.4.55.git] / fs / jfs / ioctl.c
index bc555ff417e9534cc639bc3ff0c05c2351838177..93a1232894f60a07abd8c6b1cdbbb6239270ed27 100644 (file)
@@ -58,7 +58,7 @@ static long jfs_map_ext2(unsigned long flags, int from)
 
 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 {
-       struct inode *inode = filp->f_dentry->d_inode;
+       struct inode *inode = file_inode(filp);
        struct jfs_inode_info *jfs_inode = JFS_IP(inode);
        unsigned int flags;