summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 18:21:56 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 07:40:48 -0500
commit5ed58bb243484e01e82ffca8451907403168e262 (patch)
treeebd3a0a966c3cb85be3fd83a920d1f7e836d84a3 /fs/nfsd/netns.h
parent1872de0e8171904612ee85de218fa045bc473cad (diff)
downloadlinux-exynos-5ed58bb243484e01e82ffca8451907403168e262.tar.gz
linux-exynos-5ed58bb243484e01e82ffca8451907403168e262.tar.bz2
linux-exynos-5ed58bb243484e01e82ffca8451907403168e262.zip
nfsd: make client_lru list per net
This list holds nfs4 clients queue for lease renewal, which are network namespace aware. So let's make this list per network namespace too. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index da33d3f804b0..9a98a0aeee68 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -68,6 +68,11 @@ struct nfsd_net {
struct list_head *ownerstr_hashtbl;
struct list_head *lockowner_ino_hashtbl;
struct list_head *sessionid_hashtbl;
+ /*
+ * client_lru holds client queue ordered by nfs4_client.cl_time
+ * for lease renewal.
+ */
+ struct list_head client_lru;
};
extern int nfsd_net_id;