Skip to content
Commit 9c4acd19 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Replace bucket_valid() asserts in bucket lookup with proper checks



The bucket_gens array and gc_buckets array known their own size; we
should be using those members, and returning an error.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e0cb5722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment