bcachefs: Improve key_visible_in_snapshot()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 16 Jul 2023 22:15:01 +0000 (18:15 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:08 +0000 (17:10 -0400)
commit464ee1929b7761d2939ad76573e6679b4246dc82
tree557206205765f333e1beee86193d8039e212a3aa
parenta397b8df5e2f2981427f2609252f37066a0cf780
bcachefs: Improve key_visible_in_snapshot()

Delete a redundant bch2_snapshot_is_ancestor() check, and convert some
assertions to debug assertions.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c