]> www.infradead.org Git - users/hch/misc.git/commitdiff
nfsd: remove dprintks for v2/3 RENAME events
authorJeff Layton <jlayton@kernel.org>
Sat, 3 May 2025 19:59:34 +0000 (15:59 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 11 May 2025 23:48:36 +0000 (19:48 -0400)
Observability here is now covered by static tracepoints.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfsproc.c

index 3b1d63d51bb2762020389b6b01feaea5a4d4647e..e394b0fb62605b591dca66992839b5f3d74a3dba 100644 (file)
@@ -526,15 +526,6 @@ nfsd3_proc_rename(struct svc_rqst *rqstp)
        struct nfsd3_renameargs *argp = rqstp->rq_argp;
        struct nfsd3_renameres *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: RENAME(3)   %s %.*s ->\n",
-                               SVCFH_fmt(&argp->ffh),
-                               argp->flen,
-                               argp->fname);
-       dprintk("nfsd: -> %s %.*s\n",
-                               SVCFH_fmt(&argp->tfh),
-                               argp->tlen,
-                               argp->tname);
-
        fh_copy(&resp->ffh, &argp->ffh);
        fh_copy(&resp->tfh, &argp->tfh);
        resp->status = nfsd_rename(rqstp, &resp->ffh, argp->fname, argp->flen,
index 7581b1ef4183edca7e493e845c5647236d8822e2..799ee95cdcd10fb87f11bb34f6ed52b1d440636a 100644 (file)
@@ -459,11 +459,6 @@ nfsd_proc_rename(struct svc_rqst *rqstp)
        struct nfsd_renameargs *argp = rqstp->rq_argp;
        struct nfsd_stat *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: RENAME   %s %.*s -> \n",
-               SVCFH_fmt(&argp->ffh), argp->flen, argp->fname);
-       dprintk("nfsd:        ->  %s %.*s\n",
-               SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname);
-
        resp->status = nfsd_rename(rqstp, &argp->ffh, argp->fname, argp->flen,
                                   &argp->tfh, argp->tname, argp->tlen);
        fh_put(&argp->ffh);