summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-01-24 01:09:18 +0300
committerDavid Sterba <dsterba@suse.com>2024-03-04 18:24:48 +0300
commit504a00ac48a714845e4ae0593b4ab715f93ac297 (patch)
treea41576cdeb2aa8a7b6bebac96d4294761a2e0e1f /scripts/gdb/linux/utils.py
parent2467d0fead77180d6be8b237683bbb375acf064b (diff)
downloadlinux-504a00ac48a714845e4ae0593b4ab715f93ac297.tar.xz
btrfs: change BUG_ON to assertion when verifying lockdep class setup
The BUG_ON in btrfs_set_buffer_lockdep_class() is a sanity check of the level which is verified in callers, e.g. when initializing an extent buffer or reading from an eb header. Change it to an assertion as this would not happen unless things are really bad and would fail elsewhere too. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions