aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/netns.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/lockd/netns.h')
-rw-r--r--fs/lockd/netns.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/lockd/netns.h b/fs/lockd/netns.h
index ce227e0fbc5c..4eee248ba96e 100644
--- a/fs/lockd/netns.h
+++ b/fs/lockd/netns.h
@@ -1,10 +1,17 @@
1#ifndef __LOCKD_NETNS_H__ 1#ifndef __LOCKD_NETNS_H__
2#define __LOCKD_NETNS_H__ 2#define __LOCKD_NETNS_H__
3 3
4#include <linux/fs.h>
4#include <net/netns/generic.h> 5#include <net/netns/generic.h>
5 6
6struct lockd_net { 7struct lockd_net {
7 unsigned int nlmsvc_users; 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 struct list_head grace_list;
8}; 15};
9 16
10extern int lockd_net_id; 17extern int lockd_net_id;