Re: [PATCH] btrfs: Promote debugging asserts to full-flegded checks in validate_super
From: Johannes Thumshirn <hidden> Date: 2021-05-31 11:36:30
On 31/05/2021 11:26, Nikolay Borisov wrote:
Syzbot managed to trigger this assert while performing its fuzzing.
Turns out it's better to have those asserts turned into full-fledged
checks so that in case buggy btrfs images are mounted the users gets
an error and mounting is stopped. Alternatively with CONFIG_BTRFS_ASSERT
disabled such image would have been erroneously allowed to be mounted.
Agreed,
Reviewed-by: Johannes Thumshirn <redacted>