commit | d20c11d86d8f821a64eac7d6c8f296f06d935f4f | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Wed Jul 30 08:27:07 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Aug 01 16:28:21 2014 -0400 |
tree | 4ec13f8ddb3e488c29c19cfda5e80daee0e83799 | |
parent | 3dbacee6e127e7595f83654251cf129cbadc2c26 [diff] |
nfsd: Protect session creation and client confirm using client_lock In particular, we want to ensure that the move_to_confirmed() is protected by the nn->client_lock spin lock, so that we can use that when looking up the clientid etc. instead of relying on the client_mutex. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>