diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-14 23:03:40 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:18 -0500 |
| commit | 3d0b3b51c5abaf27e35d9eeca880eed44c8690b0 (patch) | |
| tree | 6b5f516f67fb4b1c06ccf4f3361bc9d3a50f6d6f /fs/bcachefs/opts.c | |
| parent | bcachefs: Don't use a shared decompress workspace mempool (diff) | |
| download | linux-3d0b3b51c5abaf27e35d9eeca880eed44c8690b0.tar.gz linux-3d0b3b51c5abaf27e35d9eeca880eed44c8690b0.zip | |
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>
Diffstat (limited to 'fs/bcachefs/opts.c')
| -rw-r--r-- | fs/bcachefs/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c index 0ba58d74c21f..6772faf385a5 100644 --- a/fs/bcachefs/opts.c +++ b/fs/bcachefs/opts.c @@ -54,7 +54,7 @@ const char * const __bch2_csum_opts[] = { NULL }; -static const char * const __bch2_compression_types[] = { +const char * const __bch2_compression_types[] = { BCH_COMPRESSION_TYPES() NULL }; |
