]> git.baikalelectronics.ru Git - kernel.git/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)
commitad62eefdca37e647934d378732e354813c5cc2c3
tree79e51b7f10d1974dec521da01ba6f65764018640
parentbb6b6d7e66be828c17fc51e325c21aff1d89ff9d
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