bcachefs: six locks: write locks can now be held recursively

This is needed for the interior update locking rework, where we'll be
holding node write locks for the duration of the update - which is
needed for synchronizing with online check_allocations.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-12-21 02:33:53 -05:00
commit 9a5232ef0a
2 changed files with 13 additions and 5 deletions