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/nfsctl.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/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index bc76f8ebbe5e..ddb9f8787379 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -354,7 +354,7 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size) if (!dom) return -ENOMEM; - len = exp_rootfh(dom, path, &fh, maxsize); + len = exp_rootfh(&init_net, dom, path, &fh, maxsize); auth_domain_put(dom); if (len) return len; |