commit | 9c4acd19bbff5db4629c193366f82960e38d1c6f | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Thu Jun 06 14:50:06 2024 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Mon Jun 10 13:17:16 2024 -0400 |
tree | ee853ec9fa0cfa2587fbd9aac8cb0af453af1963 | |
parent | e0cb5722e112811d32d600ef750f9b39e6f684ca [diff] |
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: Kent Overstreet <kent.overstreet@linux.dev>