Home
last modified time | relevance | path

Searched hist:beeca19c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfsd/
H A Dnfs4state.cbeeca19c Fri Nov 03 07:00:14 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> 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>
beeca19c Fri Nov 03 07:00:14 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> 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>