diff options
Diffstat (limited to 'fs/ext3/ioctl.c')
-rw-r--r-- | fs/ext3/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/ioctl.c b/fs/ext3/ioctl.c index 12daa6869572..9b8090d94e6c 100644 --- a/fs/ext3/ioctl.c +++ b/fs/ext3/ioctl.c | |||
@@ -257,7 +257,7 @@ flags_err: | |||
257 | #ifdef CONFIG_COMPAT | 257 | #ifdef CONFIG_COMPAT |
258 | long ext3_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | 258 | long ext3_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) |
259 | { | 259 | { |
260 | struct inode *inode = file->f_dentry->d_inode; | 260 | struct inode *inode = file->f_path.dentry->d_inode; |
261 | int ret; | 261 | int ret; |
262 | 262 | ||
263 | /* These are just misnamed, they actually get/put from/to user an int */ | 263 | /* These are just misnamed, they actually get/put from/to user an int */ |