commit | 7ffb588086e941aa0a46a33e2bf2bf3c0963ed98 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Jul 29 21:34:34 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Jul 31 14:20:24 2014 -0400 |
tree | ea15185306219711d7e5d7b7546ac1d03bb61a1f | |
parent | b401be22b5cf059290ee98106bc780e087407d45 [diff] |
nfsd: Protect adding/removing open state owners using client_lock Once we remove client mutex protection, we'll need to ensure that stateowner lookup and creation are atomic between concurrent compounds. Ensure that alloc_init_open_stateowner checks the hashtable under the client_lock before adding a new element. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>