six locks: six_lock_waiter()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 27 Aug 2022 20:22:51 +0000 (16:22 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:41 +0000 (17:09 -0400)
commit0bfb9f42b7b16aa11a7b5d283b0b7b98d11476b7
tree4be6d962010b65ac0b4d0937ea5d5aeb68b30f8d
parentebc6f76a667f5fc599a5f76515f6881dfb82af2f
six locks: six_lock_waiter()

This allows passing in the wait list entry - to be used for a deadlock
cycle detector.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/six.c
fs/bcachefs/six.h