]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Ensure struct nfs4_client is unhashed before we try to destroy it
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 12:27:02 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Aug 2014 20:28:17 +0000 (16:28 -0400)
commit23ecba81b6cc3c81dc5d8bf34ee72183cde202a3
tree23270d6f006b77bf09b95e662bd92c4cd112faa1
parent72c0464112f3dc2faf3a027b974f870f59cab663
nfsd: Ensure struct nfs4_client is unhashed before we try to destroy it

When we remove the client_mutex protection, we will need to ensure
that it can't be found by other threads while we're destroying it.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c