netns.h 425 B

1234567891011121314151617181920
  1. #ifndef __NFS_NETNS_H__
  2. #define __NFS_NETNS_H__
  3. #include <net/net_namespace.h>
  4. #include <net/netns/generic.h>
  5. struct nfs_net {
  6. struct cache_detail *nfs_dns_resolve;
  7. struct rpc_pipe *bl_device_pipe;
  8. struct list_head nfs_client_list;
  9. struct list_head nfs_volume_list;
  10. #ifdef CONFIG_NFS_V4
  11. struct idr cb_ident_idr; /* Protected by nfs_client_lock */
  12. #endif
  13. spinlock_t nfs_client_lock;
  14. };
  15. extern int nfs_net_id;
  16. #endif