]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
nfsd: remove REMOVE/RMDIR dprintks
authorJeff Layton <jlayton@kernel.org>
Sat, 3 May 2025 19:59:33 +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 ebf9bcac9e7f3cbb4eae368c080368b2e7df1dae..3b1d63d51bb2762020389b6b01feaea5a4d4647e 100644 (file)
@@ -496,11 +496,6 @@ nfsd3_proc_remove(struct svc_rqst *rqstp)
        struct nfsd3_diropargs *argp = rqstp->rq_argp;
        struct nfsd3_attrstat *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: REMOVE(3)   %s %.*s\n",
-                               SVCFH_fmt(&argp->fh),
-                               argp->len,
-                               argp->name);
-
        /* Unlink. -S_IFDIR means file must not be a directory */
        fh_copy(&resp->fh, &argp->fh);
        resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR,
@@ -518,11 +513,6 @@ nfsd3_proc_rmdir(struct svc_rqst *rqstp)
        struct nfsd3_diropargs *argp = rqstp->rq_argp;
        struct nfsd3_attrstat *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: RMDIR(3)    %s %.*s\n",
-                               SVCFH_fmt(&argp->fh),
-                               argp->len,
-                               argp->name);
-
        fh_copy(&resp->fh, &argp->fh);
        resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR,
                                   argp->name, argp->len);
index 6636fd075ca80b1fc4898d77f3cefd757122edc4..7581b1ef4183edca7e493e845c5647236d8822e2 100644 (file)
@@ -445,9 +445,6 @@ nfsd_proc_remove(struct svc_rqst *rqstp)
        struct nfsd_diropargs *argp = rqstp->rq_argp;
        struct nfsd_stat *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: REMOVE   %s %.*s\n", SVCFH_fmt(&argp->fh),
-               argp->len, argp->name);
-
        /* Unlink. -SIFDIR means file must not be a directory */
        resp->status = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR,
                                   argp->name, argp->len);
@@ -565,8 +562,6 @@ nfsd_proc_rmdir(struct svc_rqst *rqstp)
        struct nfsd_diropargs *argp = rqstp->rq_argp;
        struct nfsd_stat *resp = rqstp->rq_resp;
 
-       dprintk("nfsd: RMDIR    %s %.*s\n", SVCFH_fmt(&argp->fh), argp->len, argp->name);
-
        resp->status = nfsd_unlink(rqstp, &argp->fh, S_IFDIR,
                                   argp->name, argp->len);
        fh_put(&argp->fh);