diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-20 20:37:53 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:02 -0400 |
| commit | d2c86b77de5894bbe26ecbf5214227f61855aed7 (patch) | |
| tree | 0a879c04b004fd61bf510344c27ddaa0c862e9c6 /fs/bcachefs/six.h | |
| parent | 0157f9c5a7c77b1cb89756351929dba4b28d5f75 (diff) | |
six locks: Centralize setting of waiting bit
Originally, the waiting bit was always set by trylock() on failure:
however, it's now set by __six_lock_type_slowpath(), with wait_lock held
- which is the more correct place to do it.
That made setting the waiting bit in trylock redundant, so this patch
deletes that.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/six.h')
0 files changed, 0 insertions, 0 deletions
