mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
nfsd: remove REMOVE/RMDIR dprintks
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>
This commit is contained in:
parent
0dbe0171fa
commit
6b6943fe27
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user