Commit d2c86b77 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 0157f9c5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment