]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext4/ioctl.c
Pull thermal into release branch
[linux-2.6-omap-h63xx.git] / fs / ext4 / ioctl.c
index 22a737c306c7846693e4b032f2ca71091ec1113c..500567dd53b6fd9752096c014162927a730748f0 100644 (file)
@@ -256,7 +256,7 @@ flags_err:
 #ifdef CONFIG_COMPAT
 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
-       struct inode *inode = file->f_dentry->d_inode;
+       struct inode *inode = file->f_path.dentry->d_inode;
        int ret;
 
        /* These are just misnamed, they actually get/put from/to user an int */