summaryrefslogtreecommitdiff
path: root/fs/bcachefs/extents.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-06 21:50:06 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-10 20:17:16 +0300
commit9c4acd19bbff5db4629c193366f82960e38d1c6f (patch)
treeee853ec9fa0cfa2587fbd9aac8cb0af453af1963 /fs/bcachefs/extents.c
parente0cb5722e112811d32d600ef750f9b39e6f684ca (diff)
downloadlinux-9c4acd19bbff5db4629c193366f82960e38d1c6f.tar.xz
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>
Diffstat (limited to 'fs/bcachefs/extents.c')
0 files changed, 0 insertions, 0 deletions