Commit ca3f9acb authored by Chuck Lever's avatar Chuck Lever
Browse files

NFSD: Demote a WARN to a pr_warn()



The call trace doesn't add much value, but it sure is noisy.

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 36f2ef2d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -630,8 +630,8 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
	}

	status = nfsd4_process_open2(rqstp, resfh, open);
	WARN(status && open->op_created,
	     "nfsd4_process_open2 failed to open newly-created file! status=%u\n",
	if (status && open->op_created)
		pr_warn("nfsd4_process_open2 failed to open newly-created file: status=%u\n",
			be32_to_cpu(status));
	if (reclaim && !status)
		nn->somebody_reclaimed = true;