]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Add an .invalid method for bch2_btree_ptr_v2
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 22 Mar 2021 21:23:30 +0000 (17:23 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:57 +0000 (17:08 -0400)
commitfad7cfed79cc66eb2fe26b422146e1447f1cd25d
tree96eda12470a433695898de6063747834d14028eb
parent1fe9b1d33cd2a5e66b3d7bb64fd327d723121a6c
bcachefs: Add an .invalid method for bch2_btree_ptr_v2

It was using the method for btree_ptr_v1, but that wasn't checking all
the fields.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/extents.c
fs/bcachefs/extents.h