]> git.karo-electronics.de Git - linux-beck.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)
commit4beb345b37fc099e98f40d20c94da6c07654005c
tree23270d6f006b77bf09b95e662bd92c4cd112faa1
parent83e452fee81cf67a8e08fd843291a7cff62a3dc7
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