]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/reiserfs/ioctl.c
[PATCH] lockd endianness annotations
[linux-2.6-omap-h63xx.git] / fs / reiserfs / ioctl.c
index 9c57578cb831a2f869c7e277896b04b06a369c80..b484d2913c0dc18389fe242fd9c1568d578dd82f 100644 (file)
@@ -99,7 +99,7 @@ int reiserfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
 long reiserfs_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 */