aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-12-01 19:56:17 +0800
committerDavid Sterba <[email protected]>2021-12-08 15:45:27 +0100
commit8289ed9f93bef2762f9184e136d994734b16d997 (patch)
tree700c3fbb2343f9181eab6ea2e78665b59f4619f6 /scripts/gdb/linux
parent5911f5382022aff2b817cb88f276756af229664d (diff)
btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
I hit the BUG_ON() with generic/475 test case, and to my surprise, all callers of btrfs_del_root_ref() are already aborting transaction, thus there is not need for such BUG_ON(), just go to @out label and caller will properly handle the error. CC: [email protected] # 5.4+ Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions