| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #ifndef __NFS_NETNS_H__ | 
|  | 2 | #define __NFS_NETNS_H__ | 
|  | 3 |  | 
|  | 4 | #include <net/net_namespace.h> | 
|  | 5 | #include <net/netns/generic.h> | 
|  | 6 |  | 
|  | 7 | struct bl_dev_msg { | 
|  | 8 | int32_t status; | 
|  | 9 | uint32_t major, minor; | 
|  | 10 | }; | 
|  | 11 |  | 
|  | 12 | struct nfs_net { | 
|  | 13 | struct cache_detail *nfs_dns_resolve; | 
|  | 14 | struct rpc_pipe *bl_device_pipe; | 
|  | 15 | struct bl_dev_msg bl_mount_reply; | 
|  | 16 | wait_queue_head_t bl_wq; | 
|  | 17 | struct list_head nfs_client_list; | 
|  | 18 | struct list_head nfs_volume_list; | 
|  | 19 | #ifdef CONFIG_NFS_V4 | 
|  | 20 | struct idr cb_ident_idr; /* Protected by nfs_client_lock */ | 
|  | 21 | #endif | 
|  | 22 | spinlock_t nfs_client_lock; | 
|  | 23 | }; | 
|  | 24 |  | 
|  | 25 | extern int nfs_net_id; | 
|  | 26 |  | 
|  | 27 | #endif |