diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 3d4fb81bacd5..4df78dd3f523 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -553,7 +553,7 @@ void ext4_error_file(struct file *file, const char *function, | |||
553 | va_list args; | 553 | va_list args; |
554 | struct va_format vaf; | 554 | struct va_format vaf; |
555 | struct ext4_super_block *es; | 555 | struct ext4_super_block *es; |
556 | struct inode *inode = file->f_dentry->d_inode; | 556 | struct inode *inode = file_inode(file); |
557 | char pathname[80], *path; | 557 | char pathname[80], *path; |
558 | 558 | ||
559 | es = EXT4_SB(inode->i_sb)->s_es; | 559 | es = EXT4_SB(inode->i_sb)->s_es; |