Commit | Line | Data |
---|---|---|
1b340d01 SK |
1 | #ifndef __NFS_NETNS_H__ |
2 | #define __NFS_NETNS_H__ | |
3 | ||
4 | #include <net/net_namespace.h> | |
5 | #include <net/netns/generic.h> | |
6 | ||
cb9c1c4a SK |
7 | struct bl_dev_msg { |
8 | int32_t status; | |
9 | uint32_t major, minor; | |
10 | }; | |
11 | ||
1b340d01 SK |
12 | struct nfs_net { |
13 | struct cache_detail *nfs_dns_resolve; | |
9e2e74db | 14 | struct rpc_pipe *bl_device_pipe; |
cb9c1c4a | 15 | struct bl_dev_msg bl_mount_reply; |
5ffaf855 | 16 | wait_queue_head_t bl_wq; |
6b13168b | 17 | struct list_head nfs_client_list; |
c25d32b2 | 18 | struct list_head nfs_volume_list; |
28cd1b3f SK |
19 | #ifdef CONFIG_NFS_V4 |
20 | struct idr cb_ident_idr; /* Protected by nfs_client_lock */ | |
21 | #endif | |
dc030858 | 22 | spinlock_t nfs_client_lock; |
1b340d01 SK |
23 | }; |
24 | ||
25 | extern int nfs_net_id; | |
26 | ||
27 | #endif |