diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-24 10:59:37 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 14:18:18 +0200 |
| commit | fe334765e4bbaf1b32004f202f9f5a6e96f3a964 (patch) | |
| tree | 9731239f706ec93294ffb3002e25ac51dd411262 /kernel | |
| parent | 546604de8acc4ab7846b4fcc6283c7003be280e4 (diff) | |
NFS: Return valid errors from nfs2/3_decode_dirent()
[ Upstream commit 64cfca85bacde54caa64e0ab855c48734894fa37 ]
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
