aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/nfs4recover.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 591bfbdf0316..e3d47091b191 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -547,8 +547,7 @@ nfsd4_legacy_tracking_init(struct net *net)
547 547
548 /* XXX: The legacy code won't work in a container */ 548 /* XXX: The legacy code won't work in a container */
549 if (net != &init_net) { 549 if (net != &init_net) {
550 WARN(1, KERN_ERR "NFSD: attempt to initialize legacy client " 550 pr_warn("NFSD: attempt to initialize legacy client tracking in a container ignored.\n");
551 "tracking in a container!\n");
552 return -EINVAL; 551 return -EINVAL;
553 } 552 }
554 553
@@ -1260,8 +1259,7 @@ nfsd4_umh_cltrack_init(struct net *net)
1260 1259
1261 /* XXX: The usermode helper s not working in container yet. */ 1260 /* XXX: The usermode helper s not working in container yet. */
1262 if (net != &init_net) { 1261 if (net != &init_net) {
1263 WARN(1, KERN_ERR "NFSD: attempt to initialize umh client " 1262 pr_warn("NFSD: attempt to initialize umh client tracking in a container ignored.\n");
1264 "tracking in a container!\n");
1265 return -EINVAL; 1263 return -EINVAL;
1266 } 1264 }
1267 1265