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>
This commit is contained in:
parent
2a75cfa64e
commit
b3853e0ea1
5 changed files with 38 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue