nfsd: make expkey cache allocated per network namespace context
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 11 Apr 2012 11:13:28 +0000 (15:13 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Apr 2012 13:11:46 +0000 (09:11 -0400)
commite5f06f720eff24e32f1cc08ec03bcc8c4b2d2934
tree9afeda20ea7ea07f6c1bbcc9dc5979c98cc62def
parentb3853e0ea1f2ef58f7e7c03e47819e2ae3766dea
nfsd: make expkey cache allocated per network namespace context

This patch also changes svcauth_unix_purge() function: added network namespace
as a parameter and thus loop over all networks was replaced by only one call
for ip map cache purge.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/export.c
fs/nfsd/netns.h
fs/nfsd/nfsctl.c
include/linux/nfsd/export.h
include/linux/sunrpc/svcauth.h
net/sunrpc/svcauth_unix.c