xref: /openbmc/linux/fs/lockd/netns.h (revision 6391503b)
1 #ifndef __LOCKD_NETNS_H__
2 #define __LOCKD_NETNS_H__
3 
4 #include <linux/fs.h>
5 #include <net/netns/generic.h>
6 
7 struct lockd_net {
8 	unsigned int nlmsvc_users;
9 	unsigned long next_gc;
10 	unsigned long nrhosts;
11 
12 	struct delayed_work grace_period_end;
13 	struct lock_manager lockd_manager;
14 
15 	struct list_head nsm_handles;
16 };
17 
18 extern int lockd_net_id;
19 
20 #endif
21