Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
a9c5d73a SK |
2 | #ifndef __LOCKD_NETNS_H__ |
3 | #define __LOCKD_NETNS_H__ | |
4 | ||
08d44a35 | 5 | #include <linux/fs.h> |
a9c5d73a SK |
6 | #include <net/netns/generic.h> |
7 | ||
8 | struct lockd_net { | |
9 | unsigned int nlmsvc_users; | |
3cf7fb07 | 10 | unsigned long next_gc; |
caa4e76b | 11 | unsigned long nrhosts; |
66547b02 SK |
12 | |
13 | struct delayed_work grace_period_end; | |
08d44a35 | 14 | struct lock_manager lockd_manager; |
e9406db2 | 15 | |
0ad95472 | 16 | struct list_head nsm_handles; |
a9c5d73a SK |
17 | }; |
18 | ||
c7d03a00 | 19 | extern unsigned int lockd_net_id; |
a9c5d73a SK |
20 | |
21 | #endif |