summaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-02 18:30:14 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-02 20:24:00 -0400
commit7ee88737ab802ac832f978d6e6258571fe08d870 (patch)
treecea43d70c963bf7c4bba92a6d9fdf764ae304f74 /net/ceph
parente0319af2b6cdfa7c39edf73dcb813b7ff1261fa5 (diff)
bcachefs: Check for bad needs_discard before doing discard
In the discard worker, we were failing to validate the bucket state - meaning a corrupt needs_discard btree could cause us to discard a bucket that we shouldn't. If check_alloc_info hasn't run yet we just want to bail out, otherwise it's a filesystem inconsistent error. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions