Commit b3c958a
btrfs: remove BUG_ON(ret) in alloc_reserved_tree_block
Switch this to an ASSERT() and return the error in the normal case.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 313ab75 commit b3c958a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4761 | 4761 | | |
4762 | 4762 | | |
4763 | 4763 | | |
| 4764 | + | |
4764 | 4765 | | |
4765 | 4766 | | |
4766 | | - | |
| 4767 | + | |
4767 | 4768 | | |
4768 | 4769 | | |
4769 | 4770 | | |
| |||
0 commit comments