diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-01 14:38:13 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-14 09:36:29 -0400 |
commit | da934ae0a8aa20f5ac6bfa04bdfe8bd8c5b438e7 (patch) | |
tree | ce4234b5cb930225d312831f706a6dd19640d31e /fs/nfs/nfs4xdr.c | |
parent | ce62b114bbad9346641d16853c528ba01513e1b0 (diff) | |
download | linux-da934ae0a8aa20f5ac6bfa04bdfe8bd8c5b438e7.tar.bz2 |
NFSv4: Add tracing for COMPOUND errors
When the server returns a different operation than we expected, then
trace that.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index edac4718dec1..ee7a7a132acc 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c @@ -3210,9 +3210,7 @@ out_status: *nfs_retval = nfs4_stat_to_errno(nfserr); return true; out_bad_operation: - dprintk("nfs: Server returned operation" - " %d but we issued a request for %d\n", - opnum, expected); + trace_nfs4_xdr_bad_operation(xdr, opnum, expected); *nfs_retval = -EREMOTEIO; return false; out_overflow: |