summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 16:22:17 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 13:40:51 +0100
commit0912128149e86b48ed946371298d7fe61120d627 (patch)
tree479c8ccf93cfccd720d40be8b47745690cef6ff6 /fs/nfsd/netns.h
parentnfsd: pass nfsd_net instead of net to grace enders (diff)
downloadlinux-0912128149e86b48ed946371298d7fe61120d627.tar.xz
linux-0912128149e86b48ed946371298d7fe61120d627.zip
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 {
*/
struct list_head client_lru;
struct list_head close_lru;
+
+ struct delayed_work laundromat_work;
};
extern int nfsd_net_id;