2011-11-25 14:13:04 +00:00
|
|
|
#ifndef __NFS_NETNS_H__
|
|
|
|
#define __NFS_NETNS_H__
|
|
|
|
|
|
|
|
#include <net/net_namespace.h>
|
|
|
|
#include <net/netns/generic.h>
|
|
|
|
|
2012-03-11 14:20:23 +00:00
|
|
|
struct bl_dev_msg {
|
|
|
|
int32_t status;
|
|
|
|
uint32_t major, minor;
|
|
|
|
};
|
|
|
|
|
2011-11-25 14:13:04 +00:00
|
|
|
struct nfs_net {
|
|
|
|
struct cache_detail *nfs_dns_resolve;
|
2012-01-10 13:04:24 +00:00
|
|
|
struct rpc_pipe *bl_device_pipe;
|
2012-03-11 14:20:23 +00:00
|
|
|
struct bl_dev_msg bl_mount_reply;
|
2012-03-11 14:20:31 +00:00
|
|
|
wait_queue_head_t bl_wq;
|
2012-01-23 17:26:05 +00:00
|
|
|
struct list_head nfs_client_list;
|
2012-01-23 17:26:14 +00:00
|
|
|
struct list_head nfs_volume_list;
|
2012-01-23 17:26:22 +00:00
|
|
|
#ifdef CONFIG_NFS_V4
|
|
|
|
struct idr cb_ident_idr; /* Protected by nfs_client_lock */
|
|
|
|
#endif
|
2012-01-23 17:26:31 +00:00
|
|
|
spinlock_t nfs_client_lock;
|
2011-11-25 14:13:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern int nfs_net_id;
|
|
|
|
|
|
|
|
#endif
|