NFSv4: Catch and trace server filehandle encoding errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 1 Apr 2021 18:03:26 +0000 (14:03 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 14 Apr 2021 13:36:29 +0000 (09:36 -0400)
commiteb3d58c68e39fad68d8054e0324eb06d82dcedbb
treebebaae6d3ad6fad610fc1ac0e1662327f39ca823
parent3d66bae156a652be18e278f3c88bc3e069ae824b
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>
fs/nfs/nfs3xdr.c
fs/nfs/nfs4trace.h
fs/nfs/nfs4xdr.c
fs/nfs/nfstrace.c
fs/nfs/nfstrace.h