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/nfstrace.c | |
parent | 3d66bae156a652be18e278f3c88bc3e069ae824b (diff) |
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/nfstrace.c')
-rw-r--r-- | fs/nfs/nfstrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfstrace.c b/fs/nfs/nfstrace.c index a90b363500c2..5d1bfccbb4da 100644 --- a/fs/nfs/nfstrace.c +++ b/fs/nfs/nfstrace.c @@ -12,3 +12,4 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(nfs_fsync_enter); EXPORT_TRACEPOINT_SYMBOL_GPL(nfs_fsync_exit); EXPORT_TRACEPOINT_SYMBOL_GPL(nfs_xdr_status); +EXPORT_TRACEPOINT_SYMBOL_GPL(nfs_xdr_bad_filehandle); |