diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-26 08:16:30 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-28 10:13:54 -0500 |
commit | f141f79d709de447c8c92ba54821740ae53a5d07 (patch) | |
tree | ba95be5f9ebb6c532727c7b0acb169be41da6ef0 /fs/nfsd/netns.h | |
parent | 3a0733692f6665a28c50ebadb6d9db2b183bcb91 (diff) |
nfsd: recovery - make in_grace per net
Flag in_grace is a part of client tracking state, which is network namesapce
aware. So let'a replace global static variable with per-net one.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r-- | fs/nfsd/netns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 130563210c68..9047706b3e10 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h | |||
@@ -86,6 +86,7 @@ struct nfsd_net { | |||
86 | spinlock_t client_lock; | 86 | spinlock_t client_lock; |
87 | 87 | ||
88 | struct file *rec_file; | 88 | struct file *rec_file; |
89 | bool in_grace; | ||
89 | }; | 90 | }; |
90 | 91 | ||
91 | extern int nfsd_net_id; | 92 | extern int nfsd_net_id; |