diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-01 14:03:26 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-14 09:36:29 -0400 |
commit | eb3d58c68e39fad68d8054e0324eb06d82dcedbb (patch) | |
tree | bebaae6d3ad6fad610fc1ac0e1662327f39ca823 /fs/nfs/nfs4trace.h | |
parent | 3d66bae156a652be18e278f3c88bc3e069ae824b (diff) | |
download | linux-eb3d58c68e39fad68d8054e0324eb06d82dcedbb.tar.gz linux-eb3d58c68e39fad68d8054e0324eb06d82dcedbb.tar.bz2 linux-eb3d58c68e39fad68d8054e0324eb06d82dcedbb.zip |
NFSv4: Catch and trace server filehandle encoding errors
If the server returns a filehandle with an invalid length, then trace
that, and return an EREMOTEIO error.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4trace.h')
-rw-r--r-- | fs/nfs/nfs4trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h index 114983a706e9..2ef75caad6da 100644 --- a/fs/nfs/nfs4trace.h +++ b/fs/nfs/nfs4trace.h @@ -745,6 +745,7 @@ DECLARE_EVENT_CLASS(nfs4_xdr_event, ), \ TP_ARGS(xdr, op, error)) DEFINE_NFS4_XDR_EVENT(nfs4_xdr_status); +DEFINE_NFS4_XDR_EVENT(nfs4_xdr_bad_filehandle); DECLARE_EVENT_CLASS(nfs4_cb_error_class, TP_PROTO( |