X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fext4%2Fsuper.c;h=0ae853d2e1f141cb2bde05dde7f089b6eff98c09;hb=9bf39ab2adafd7cf8740859cb49e7b7952813a5d;hp=f06d0589ddba5db7226a38a6e0de3ef2cdee48d9;hpb=4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01;p=linux-block.git diff --git a/fs/ext4/super.c b/fs/ext4/super.c index f06d0589ddba..0ae853d2e1f1 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -449,7 +449,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);