aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index ed0290d5ebf3..76e0198adcfa 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1205,7 +1205,7 @@ int nfs_get_tree_common(struct fs_context *fc)
fc->s_fs_info = NULL;
if (IS_ERR(s)) {
error = PTR_ERR(s);
- dfprintk(MOUNT, "NFS: Couldn't get superblock\n");
+ nfs_errorf(fc, "NFS: Couldn't get superblock");
goto out_err_nosb;
}
@@ -1234,7 +1234,7 @@ int nfs_get_tree_common(struct fs_context *fc)
error = nfs_get_root(s, fc);
if (error < 0) {
- dfprintk(MOUNT, "NFS: Couldn't get root dentry\n");
+ nfs_errorf(fc, "NFS: Couldn't get root dentry");
goto error_splat_super;
}