Searched hist:c06a8b75679d73473c0c382bcc676ee4b7657bee (Results 1 – 1 of 1) sorted by relevance
/linux/fs/bcachefs/ |
H A D | checksum.c | diff c06a8b75679d73473c0c382bcc676ee4b7657bee Mon May 20 01:58:44 CEST 2024 Kent Overstreet <kent.overstreet@linux.dev> bcachefs: Fix bch2_alloc_ciphers()
Don't put error pointers in bch_fs, that's gross.
This fixes (?) the check in bch2_checksum_type_valid() - depending on our error paths, or depending on what our error paths are doing it at least makes the code saner.
Reported-by: syzbot+2e3cb81b5d1fe18a374b@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|