diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-11-03 08:00:14 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-11-27 16:45:10 -0500 |
commit | beeca19cf1249a917ed737729dc92337c7633bea (patch) | |
tree | c118b4316b711a950f6792a8d4c2c47fea81886c /fs/cramfs | |
parent | fd1fd685b30867122aafbe2998ce4065c8c87e8f (diff) | |
download | linux-beeca19cf1249a917ed737729dc92337c7633bea.tar.bz2 |
nfsd: Fix race in lock stateid creation
If we're looking up a new lock state, and the creation fails, then
we want to unhash it, just like we do for OPEN. However in order
to do so, we need to that no other LOCK requests can grab the
mutex until we have unhashed it (and marked it as closed).
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions