mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
NFSD: Move the RPC program definition for LOCALIO
Clean up: The definitions for the LOCALIO program are not needed by most files that include linux/nfs.h. Following the convention used by most other in-kernel RPC program implementations, relocate the LOCALIO program definitions to a localio-specific header. Reviewed-by: NeilBrown <neil@brown.name> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://patch.msgid.link/20260728165911.462534-2-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
This commit is contained in:
parent
ee62dc03a6
commit
7c62f5e526
|
|
@ -15,11 +15,4 @@
|
|||
|
||||
#include <uapi/linux/nfs.h>
|
||||
|
||||
/* The LOCALIO program is entirely private to Linux and is
|
||||
* NOT part of the uapi.
|
||||
*/
|
||||
#define NFS_LOCALIO_PROGRAM 400122
|
||||
#define LOCALIOPROC_NULL 0
|
||||
#define LOCALIOPROC_UUID_IS_LOCAL 1
|
||||
|
||||
#endif /* _LINUX_NFS_H */
|
||||
|
|
|
|||
|
|
@ -16,6 +16,14 @@
|
|||
#include <linux/nfs.h>
|
||||
#include <net/net_namespace.h>
|
||||
|
||||
/*
|
||||
* The LOCALIO program is entirely private to Linux and is NOT part of
|
||||
* the uapi.
|
||||
*/
|
||||
#define NFS_LOCALIO_PROGRAM 400122
|
||||
#define LOCALIOPROC_NULL 0
|
||||
#define LOCALIOPROC_UUID_IS_LOCAL 1
|
||||
|
||||
struct nfs_client;
|
||||
struct nfs_file_localio;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user