]> Pileus Git - ~andy/linux/blobdiff - fs/jfs/ioctl.c
ARM: SPEAr13xx: Fix typo "ARCH_HAVE_CPUFREQ"
[~andy/linux] / 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;