diff options
| author | Chuck Lever <cel@kernel.org> | 2026-09-16 12:28:34 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-11 23:12:14 -0400 |
| commit | ffbf5434ee57fb93f400705ea2674897ac7dc5f9 (patch) | |
| tree | 76fe3c61eff1456fbfcda4ff731600a10228011b /include | |
| parent | f49b703d853ea9d92efe3a95a6818579a254a070 (diff) | |
| download | linux-next-ffbf5434ee57fb93f400705ea2674897ac7dc5f9.tar.gz linux-next-ffbf5434ee57fb93f400705ea2674897ac7dc5f9.zip | |
NFSD: Use xdrgen-generated NFSv2 protocol definitions
Switch the server's NFSv2 implementation to use the machine-
generated protocol definitions.
Acked-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260916162859.2051-6-cel@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfs_common.h b/include/linux/nfs_common.h index a541c3a02887..88dccd8564cf 100644 --- a/include/linux/nfs_common.h +++ b/include/linux/nfs_common.h @@ -6,11 +6,11 @@ #define _LINUX_NFS_COMMON_H #include <linux/errno.h> -#include <uapi/linux/nfs.h> +#include <linux/types.h> /* Mapping from NFS error code to "errno" error code. */ -int nfs_stat_to_errno(enum nfs_stat status); +int nfs_stat_to_errno(int status); int nfs4_stat_to_errno(int stat); __u32 nfs_localio_errno_to_nfs4_stat(int errno); |
