diff options
Diffstat (limited to 'fs/reiserfs/ioctl.c')
-rw-r--r-- | fs/reiserfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/ioctl.c b/fs/reiserfs/ioctl.c index 9c57578cb831..b484d2913c0d 100644 --- a/fs/reiserfs/ioctl.c +++ b/fs/reiserfs/ioctl.c | |||
@@ -99,7 +99,7 @@ int reiserfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, | |||
99 | long reiserfs_compat_ioctl(struct file *file, unsigned int cmd, | 99 | long reiserfs_compat_ioctl(struct file *file, unsigned int cmd, |
100 | unsigned long arg) | 100 | unsigned long arg) |
101 | { | 101 | { |
102 | struct inode *inode = file->f_dentry->d_inode; | 102 | struct inode *inode = file->f_path.dentry->d_inode; |
103 | int ret; | 103 | int ret; |
104 | 104 | ||
105 | /* These are just misnamed, they actually get/put from/to user an int */ | 105 | /* These are just misnamed, they actually get/put from/to user an int */ |