]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Simplify disk accounting validate late
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 4 Dec 2024 03:03:18 +0000 (22:03 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:21 +0000 (01:36 -0500)
commit8dabb19ff4b802131ebfc1024de132b601c3c23d
tree9d1a67842b3da01c9ab5682689b225a92a2dc5e0
parentf78760dede23affb50a6fe62b1230849e1a5d15f
bcachefs: Simplify disk accounting validate late

The validate late path was iterating over accounting entries in
eytzinger order, which is unnecessarily tricky when we may have to
remove entries.

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