diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-30 03:34:34 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-31 20:20:24 +0200 |
commit | 7ffb588086e941aa0a46a33e2bf2bf3c0963ed98 (patch) | |
tree | ea15185306219711d7e5d7b7546ac1d03bb61a1f /fs/ubifs | |
parent | nfsd: don't allow CLOSE to proceed until refcount on stateid drops (diff) | |
download | linux-7ffb588086e941aa0a46a33e2bf2bf3c0963ed98.tar.xz linux-7ffb588086e941aa0a46a33e2bf2bf3c0963ed98.zip |
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>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions