diff options
| author | David Sterba <dsterba@suse.com> | 2024-01-24 01:09:46 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:48 +0100 |
| commit | 2467d0fead77180d6be8b237683bbb375acf064b (patch) | |
| tree | 27a1cb189448e88a660810705cc070511aa476f2 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves() (diff) | |
| download | linux-2467d0fead77180d6be8b237683bbb375acf064b.tar.gz linux-2467d0fead77180d6be8b237683bbb375acf064b.zip | |
btrfs: change BUG_ON to assertion in btrfs_read_roots()
There's one caller of btrfs_read_roots() and that already uses the
tree_root pointer, it's pointless to BUG_ON on it. As it's an assumption
of the initialization helpers make it an assert instead.
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
