2022-04-29 15:19:15

by Chuck Lever

[permalink] [raw]
Subject: [PATCH 1/6] NFSD: Remove dprintk call sites from tail of nfsd4_open()

Clean up: These relics are not likely to benefit server
administrators.

Signed-off-by: Chuck Lever <[email protected]>
---
fs/nfsd/nfs4proc.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 28bae84d7809..0c5c0a685f02 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -622,13 +622,9 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
break;
case NFS4_OPEN_CLAIM_DELEG_PREV_FH:
case NFS4_OPEN_CLAIM_DELEGATE_PREV:
- dprintk("NFSD: unsupported OPEN claim type %d\n",
- open->op_claim_type);
status = nfserr_notsupp;
goto out;
default:
- dprintk("NFSD: Invalid OPEN claim type %d\n",
- open->op_claim_type);
status = nfserr_inval;
goto out;
}