aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2021-05-31 09:26:01 +0000
committerDavid Sterba <[email protected]>2021-06-04 11:12:06 +0000
commitaefd7f7065567a4666f42c0fc8cdb379d2e036bf (patch)
tree928eb370d723e46a571f7c7e5cba750a9be4e87f /fs/btrfs/tree-log.c
parentbtrfs: return value from btrfs_mark_extent_written() in case of error (diff)
downloadkernel-aefd7f7065567a4666f42c0fc8cdb379d2e036bf.tar.gz
kernel-aefd7f7065567a4666f42c0fc8cdb379d2e036bf.zip
btrfs: promote debugging asserts to full-fledged checks in validate_super
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. Reported-by: [email protected] CC: [email protected] # 5.4+ Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> [ add uuids to the messages ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions