Merge tag 'qcom-soc-for-4.3' into v4.2-rc2
[firefly-linux-kernel-4.4.55.git] / fs / ext4 / super.c
index 5c787647afe2a3817dfbf49949e195218199c8f6..58987b5c514b2baf433801dee0525d05c4525906 100644 (file)
@@ -452,7 +452,7 @@ void __ext4_error_file(struct file *file, const char *function,
        es = EXT4_SB(inode->i_sb)->s_es;
        es->s_last_error_ino = cpu_to_le32(inode->i_ino);
        if (ext4_error_ratelimit(inode->i_sb)) {
-               path = d_path(&(file->f_path), pathname, sizeof(pathname));
+               path = file_path(file, pathname, sizeof(pathname));
                if (IS_ERR(path))
                        path = "(unknown)";
                va_start(args, fmt);