Stanislav Kinsbursky | 1b340d0 | 2011-11-25 17:13:04 +0300 | [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 | |
Stanislav Kinsbursky | cb9c1c4 | 2012-03-11 18:20:23 +0400 | [diff] [blame] | 7 | struct bl_dev_msg { |
| 8 | int32_t status; |
| 9 | uint32_t major, minor; |
| 10 | }; |
| 11 | |
Stanislav Kinsbursky | 1b340d0 | 2011-11-25 17:13:04 +0300 | [diff] [blame] | 12 | struct nfs_net { |
| 13 | struct cache_detail *nfs_dns_resolve; |
Stanislav Kinsbursky | 9e2e74d | 2012-01-10 17:04:24 +0400 | [diff] [blame] | 14 | struct rpc_pipe *bl_device_pipe; |
Stanislav Kinsbursky | cb9c1c4 | 2012-03-11 18:20:23 +0400 | [diff] [blame] | 15 | struct bl_dev_msg bl_mount_reply; |
Stanislav Kinsbursky | 5ffaf85 | 2012-03-11 18:20:31 +0400 | [diff] [blame] | 16 | wait_queue_head_t bl_wq; |
Stanislav Kinsbursky | 6b13168 | 2012-01-23 17:26:05 +0000 | [diff] [blame] | 17 | struct list_head nfs_client_list; |
Stanislav Kinsbursky | c25d32b | 2012-01-23 17:26:14 +0000 | [diff] [blame] | 18 | struct list_head nfs_volume_list; |
Stanislav Kinsbursky | 28cd1b3 | 2012-01-23 17:26:22 +0000 | [diff] [blame] | 19 | #ifdef CONFIG_NFS_V4 |
| 20 | struct idr cb_ident_idr; /* Protected by nfs_client_lock */ |
| 21 | #endif |
Stanislav Kinsbursky | dc03085 | 2012-01-23 17:26:31 +0000 | [diff] [blame] | 22 | spinlock_t nfs_client_lock; |
Stanislav Kinsbursky | 1b340d0 | 2011-11-25 17:13:04 +0300 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | extern int nfs_net_id; |
| 26 | |
| 27 | #endif |