Skip to content
Commit 64cfca85 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Return valid errors from nfs2/3_decode_dirent()



Valid return values for decode_dirent() callback functions are:
 0: Success
 -EBADCOOKIE: End of directory
 -EAGAIN: End of xdr_stream

All errors need to map into one of those three values.

Fixes: 573c4e1ef53a ("NFS: Simplify ->decode_dirent() calling sequence")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent b38e09b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment