]> Pileus Git - ~andy/linux/blob - fs/nfs/netns.h
NFS: make cb_ident_idr per net ns
[~andy/linux] / fs / nfs / netns.h
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 nfs_net {
8         struct cache_detail *nfs_dns_resolve;
9         struct rpc_pipe *bl_device_pipe;
10         struct list_head nfs_client_list;
11         struct list_head nfs_volume_list;
12 #ifdef CONFIG_NFS_V4
13         struct idr cb_ident_idr; /* Protected by nfs_client_lock */
14 #endif
15 };
16
17 extern int nfs_net_id;
18
19 #endif