bcachefs: Fix check_pos_snapshot_overwritten for !snapshots
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 6 Jan 2022 05:04:56 +0000 (00:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000 (17:09 -0400)
commita74313481ae24cd301b79b5fca3161079e739a21
tree3620bfcad93817cc4d7a7a705bff78b4e477e931
parent21aec962dfec2df11694350e5b2d3a9a9c298e7d
bcachefs: Fix check_pos_snapshot_overwritten for !snapshots

It shouldn't run if the btree being checked doesn't have snapshots.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_update_leaf.c