]> www.infradead.org Git - users/willy/pagecache.git/commit
bcachefs: Don't BUG_ON() when superblock feature wasn't set for compressed data
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 15 Nov 2024 04:03:40 +0000 (23:03 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:18 +0000 (01:36 -0500)
commit3d0b3b51c5abaf27e35d9eeca880eed44c8690b0
tree6b5f516f67fb4b1c06ccf4f3361bc9d3a50f6d6f
parente1702b989151649b27a73b776fc5bc494d03f725
bcachefs: Don't BUG_ON() when superblock feature wasn't set for compressed data

We don't allocate the mempools for compression/decompression unless we
need them - but that means there's an inconsistency to check for.

Reported-by: syzbot+cb3fbcfb417448cfd278@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/compress.c
fs/bcachefs/errcode.h
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/sb-errors_format.h