]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/sunrpc/sunrpc_syms.c
SUNRPC: create unix gid cache per network namespace
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 19 Jan 2012 17:42:29 +0000 (21:42 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:15 +0000 (19:28 -0500)
commit73393232d6a425b6bb4cee590e3e66fc52532a15
treee0df6bd41e665a307856b29c216473969fe88575
parent0a402d5a653ee2b613aaba3092a87b1e964622ce
SUNRPC: create unix gid cache per network namespace

v2:
1) fixed silly usage of template cache as a real one (this code left from
static global cache for all)

This patch makes unix_gid_cache cache detail allocated and registered per
network namespace context.
Thus with this patch unix_gid_cache contents for network namespace "X" are
controlled from proc file system mount for the same network namespace "X".

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/netns.h
net/sunrpc/sunrpc_syms.c
net/sunrpc/svcauth_unix.c