diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-04-11 13:13:21 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 15:11:11 +0200 |
commit | b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea (patch) | |
tree | e1d54f74e25a7878c2d786d120cd1a97f240ac18 /fs/nfsd/nfssvc.c | |
parent | nfsd: pass pointer to export cache down to stack wherever possible. (diff) | |
download | linux-b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea.tar.xz linux-b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea.zip |
nfsd: make export cache allocated per network namespace context
This patch also changes prototypes of nfsd_export_flush() and exp_rootfh():
network namespace parameter added.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r-- | fs/nfsd/nfssvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 78e521392df1..cb4d51d8cbdb 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -261,7 +261,7 @@ static void nfsd_last_thread(struct svc_serv *serv, struct net *net) printk(KERN_WARNING "nfsd: last server has exited, flushing export " "cache\n"); - nfsd_export_flush(); + nfsd_export_flush(net); } void nfsd_reset_versions(void) |