bcachefs: Improve bch2_lock_inodes()

Can now be used for the two different types of locks we have so far

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-06-24 18:24:38 -04:00 • committed by Kent Overstreet
commit 168f4c5fb3
3 changed files with 34 additions and 14 deletions