]> Pileus Git - ~andy/linux/commit
nfsd: make delegations shutdown network namespace aware
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Nov 2012 12:22:03 +0000 (15:22 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2012 15:13:50 +0000 (10:13 -0500)
commit4e37a7c2075baa2a15a2ab90fcc44173888016ed
tree79e51b7f10d1974dec521da01ba6f65764018640
parentc9a4962881929df7f1ef6e63e1b9da304faca4dd
nfsd: make delegations shutdown network namespace aware

NFSv4 delegations are stored in global list. But they are nfs4_client
dependent, which is network namespace aware already.
State shutdown and laundromat are done per network namespace as well.
So, delegations unhash have to be done in network namespace context.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c