summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 19:22:17 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 16:40:51 +0400
commit0912128149e86b48ed946371298d7fe61120d627 (patch)
tree479c8ccf93cfccd720d40be8b47745690cef6ff6 /fs/nfsd/netns.h
parent12760c6685624d65f8de078485c21b6a08e83409 (diff)
downloadlinux-0912128149e86b48ed946371298d7fe61120d627.tar.xz
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;