aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 10:22:17 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 07:40:51 -0500
commit0912128149e86b48ed946371298d7fe61120d627 (patch)
tree479c8ccf93cfccd720d40be8b47745690cef6ff6 /fs/nfsd/netns.h
parent12760c6685624d65f8de078485c21b6a08e83409 (diff)
nfsd: make laundromat network namespace aware
This patch moves laundromat_work to nfsd per-net context, thus allowing to run multiple laundries. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index a356ea3dc686..227b93ebb622 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -79,6 +79,8 @@ struct nfsd_net {
79 */ 79 */
80 struct list_head client_lru; 80 struct list_head client_lru;
81 struct list_head close_lru; 81 struct list_head close_lru;
82
83 struct delayed_work laundromat_work;
82}; 84};
83 85
84extern int nfsd_net_id; 86extern int nfsd_net_id;