summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-26 16:16:30 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-28 10:13:54 -0500
commitf141f79d709de447c8c92ba54821740ae53a5d07 (patch)
treeba95be5f9ebb6c532727c7b0acb169be41da6ef0 /fs/nfsd/netns.h
parent3a0733692f6665a28c50ebadb6d9db2b183bcb91 (diff)
downloadlinux-f141f79d709de447c8c92ba54821740ae53a5d07.tar.gz
linux-f141f79d709de447c8c92ba54821740ae53a5d07.tar.bz2
linux-f141f79d709de447c8c92ba54821740ae53a5d07.zip
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.h1
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 {
spinlock_t client_lock;
struct file *rec_file;
+ bool in_grace;
};
extern int nfsd_net_id;