bcachefs: Fix upgrade_readers()
The bch2_btree_path_upgrade() call was failing and tripping an assert -
path->level + 1 is in this case not necessarily exactly what we want,
fix it by upgrading exactly the locks we want.
Signed-off-by:
Kent Overstreet <kent.overstreet@gmail.com>
parent
d7407292
Please register or sign in to comment