Merge tag 'gfs2-merge-window' of git://git.kernel.org:/pub/scm/linux/kernel/git/gfs2...
[linux-2.6-block.git] / fs / lockd / netns.h
CommitLineData
a9c5d73a
SK
1#ifndef __LOCKD_NETNS_H__
2#define __LOCKD_NETNS_H__
3
08d44a35 4#include <linux/fs.h>
a9c5d73a
SK
5#include <net/netns/generic.h>
6
7struct lockd_net {
8 unsigned int nlmsvc_users;
3cf7fb07 9 unsigned long next_gc;
caa4e76b 10 unsigned long nrhosts;
66547b02
SK
11
12 struct delayed_work grace_period_end;
08d44a35 13 struct lock_manager lockd_manager;
e9406db2
SK
14
15 spinlock_t nsm_clnt_lock;
16 unsigned int nsm_users;
17 struct rpc_clnt *nsm_clnt;
a9c5d73a
SK
18};
19
20extern int lockd_net_id;
21
22#endif