Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
[linux-2.6.git] / fs / lockd / netns.h
blob5010b55628b4755bab2c3e01f1042efd20beec10
1 #ifndef __LOCKD_NETNS_H__
2 #define __LOCKD_NETNS_H__
4 #include <linux/fs.h>
5 #include <net/netns/generic.h>
7 struct lockd_net {
8 unsigned int nlmsvc_users;
9 unsigned long next_gc;
10 unsigned long nrhosts;
12 struct delayed_work grace_period_end;
13 struct lock_manager lockd_manager;
14 struct list_head grace_list;
16 spinlock_t nsm_clnt_lock;
17 unsigned int nsm_users;
18 struct rpc_clnt *nsm_clnt;
21 extern int lockd_net_id;
23 #endif