aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 5c787647afe2..58987b5c514b 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -452,7 +452,7 @@ void __ext4_error_file(struct file *file, const char *function,
452 es = EXT4_SB(inode->i_sb)->s_es; 452 es = EXT4_SB(inode->i_sb)->s_es;
453 es->s_last_error_ino = cpu_to_le32(inode->i_ino); 453 es->s_last_error_ino = cpu_to_le32(inode->i_ino);
454 if (ext4_error_ratelimit(inode->i_sb)) { 454 if (ext4_error_ratelimit(inode->i_sb)) {
455 path = d_path(&(file->f_path), pathname, sizeof(pathname)); 455 path = file_path(file, pathname, sizeof(pathname));
456 if (IS_ERR(path)) 456 if (IS_ERR(path))
457 path = "(unknown)"; 457 path = "(unknown)";
458 va_start(args, fmt); 458 va_start(args, fmt);