2011-11-25 22:13:04 +08:00
|
|
|
#ifndef __NFS_NETNS_H__
|
|
|
|
#define __NFS_NETNS_H__
|
|
|
|
|
|
|
|
#include <net/net_namespace.h>
|
|
|
|
#include <net/netns/generic.h>
|
|
|
|
|
|
|
|
struct nfs_net {
|
|
|
|
struct cache_detail *nfs_dns_resolve;
|
2012-01-10 21:04:24 +08:00
|
|
|
struct rpc_pipe *bl_device_pipe;
|
2012-01-24 01:26:05 +08:00
|
|
|
struct list_head nfs_client_list;
|
2012-01-24 01:26:14 +08:00
|
|
|
struct list_head nfs_volume_list;
|
2012-01-24 01:26:22 +08:00
|
|
|
#ifdef CONFIG_NFS_V4
|
|
|
|
struct idr cb_ident_idr; /* Protected by nfs_client_lock */
|
|
|
|
#endif
|
2011-11-25 22:13:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
extern int nfs_net_id;
|
|
|
|
|
|
|
|
#endif
|