]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd: Ensure lookup_clientid() takes client_lock
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 12:27:09 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Aug 2014 20:28:23 +0000 (16:28 -0400)
commit3e339f964b74b7223ab128f36f4b2aaf9dc12eb9
tree27a2c6348382b1e28889e8d706e7edb3a161c979
parent6b10ad193d391c295146f23cbe8523e48df78999
nfsd: Ensure lookup_clientid() takes client_lock

Ensure that the client lookup is done safely under the client_lock, so
we're not relying on the client_mutex.

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