diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 16:22:17 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 13:40:51 +0100 |
commit | 0912128149e86b48ed946371298d7fe61120d627 (patch) | |
tree | 479c8ccf93cfccd720d40be8b47745690cef6ff6 /fs/nfsd/netns.h | |
parent | nfsd: pass nfsd_net instead of net to grace enders (diff) | |
download | linux-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.h | 2 |
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; |