LockD: make lockd manager allocated per network namespace
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:

committed by
J. Bruce Fields

parent
66547b0251
commit
08d44a35a9
@@ -1,6 +1,7 @@
|
||||
#ifndef __LOCKD_NETNS_H__
|
||||
#define __LOCKD_NETNS_H__
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <net/netns/generic.h>
|
||||
|
||||
struct lockd_net {
|
||||
@@ -9,6 +10,7 @@ struct lockd_net {
|
||||
unsigned long nrhosts;
|
||||
|
||||
struct delayed_work grace_period_end;
|
||||
struct lock_manager lockd_manager;
|
||||
};
|
||||
|
||||
extern int lockd_net_id;
|
||||
|
Reference in New Issue
Block a user