diff options
-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 c228da112de..d49e3b1ec41 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -437,7 +437,7 @@ void ext4_error_file(struct file *file, const char *function, | |||
437 | save_error_info(inode->i_sb, function, line); | 437 | save_error_info(inode->i_sb, function, line); |
438 | va_start(args, fmt); | 438 | va_start(args, fmt); |
439 | path = d_path(&(file->f_path), pathname, sizeof(pathname)); | 439 | path = d_path(&(file->f_path), pathname, sizeof(pathname)); |
440 | if (!path) | 440 | if (IS_ERR(path)) |
441 | path = "(unknown)"; | 441 | path = "(unknown)"; |
442 | printk(KERN_CRIT | 442 | printk(KERN_CRIT |
443 | "EXT4-fs error (device %s): %s:%d: inode #%lu " | 443 | "EXT4-fs error (device %s): %s:%d: inode #%lu " |