mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
nfsd: remove legacy dprintks from GETATTR and STATFS codepaths
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
79641333fe
commit
155a141508
|
|
@ -72,9 +72,6 @@ nfsd3_proc_getattr(struct svc_rqst *rqstp)
|
|||
|
||||
trace_nfsd_vfs_getattr(rqstp, &argp->fh);
|
||||
|
||||
dprintk("nfsd: GETATTR(3) %s\n",
|
||||
SVCFH_fmt(&argp->fh));
|
||||
|
||||
fh_copy(&resp->fh, &argp->fh);
|
||||
resp->status = fh_verify(rqstp, &resp->fh, 0,
|
||||
NFSD_MAY_NOP | NFSD_MAY_BYPASS_GSS_ON_ROOT);
|
||||
|
|
@ -651,9 +648,6 @@ nfsd3_proc_fsstat(struct svc_rqst *rqstp)
|
|||
struct nfsd_fhandle *argp = rqstp->rq_argp;
|
||||
struct nfsd3_fsstatres *resp = rqstp->rq_resp;
|
||||
|
||||
dprintk("nfsd: FSSTAT(3) %s\n",
|
||||
SVCFH_fmt(&argp->fh));
|
||||
|
||||
resp->status = nfsd_statfs(rqstp, &argp->fh, &resp->stats, 0);
|
||||
fh_put(&argp->fh);
|
||||
resp->status = nfsd3_map_status(resp->status);
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ nfsd_proc_getattr(struct svc_rqst *rqstp)
|
|||
|
||||
trace_nfsd_vfs_getattr(rqstp, &argp->fh);
|
||||
|
||||
dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh));
|
||||
|
||||
fh_copy(&resp->fh, &argp->fh);
|
||||
resp->status = fh_verify(rqstp, &resp->fh, 0,
|
||||
NFSD_MAY_NOP | NFSD_MAY_BYPASS_GSS_ON_ROOT);
|
||||
|
|
@ -617,8 +615,6 @@ nfsd_proc_statfs(struct svc_rqst *rqstp)
|
|||
struct nfsd_fhandle *argp = rqstp->rq_argp;
|
||||
struct nfsd_statfsres *resp = rqstp->rq_resp;
|
||||
|
||||
dprintk("nfsd: STATFS %s\n", SVCFH_fmt(&argp->fh));
|
||||
|
||||
resp->status = nfsd_statfs(rqstp, &argp->fh, &resp->stats,
|
||||
NFSD_MAY_BYPASS_GSS_ON_ROOT);
|
||||
fh_put(&argp->fh);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user