Files
linux/fs
Trond Myklebust fe334765e4 NFS: Return valid errors from nfs2/3_decode_dirent()
[ Upstream commit 64cfca85ba ]

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: 573c4e1ef5 ("NFS: Simplify ->decode_dirent() calling sequence")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-15 14:18:18 +02:00
..
2020-11-05 11:43:34 +01:00
2021-10-27 09:54:27 +02:00
2021-09-22 12:26:25 +02:00
2021-11-17 09:48:42 +01:00
2020-10-01 13:17:19 +02:00
2019-08-07 21:51:47 -04:00
2020-03-25 08:25:58 +01:00
2019-12-17 19:55:30 +01:00
2021-12-14 14:49:02 +01:00
2019-08-01 20:51:23 +02:00