bcachefs: btree_locking.c

Start to centralize some of the locking code in a new file; more locking
code will be moving here in the future.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2022-08-19 15:35:34 -04:00 • committed by Kent Overstreet
commit cd5afabea1
6 changed files with 494 additions and 458 deletions