diff options
| author | Filipe Manana <[email protected]> | 2023-03-21 11:14:00 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-04-17 18:01:20 +0200 |
| commit | b7b1167c36350904899594ddb235f64d59625195 (patch) | |
| tree | a960df8bece858fb989f4f303b7fb7755d1edf61 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f8f210dc84709804c9f952297f2bfafa6ea6b4bd (diff) | |
btrfs: simplify exit paths of btrfs_evict_inode()
Instead of using two labels at btrfs_evict_inode() for exiting depending
on whether we need to delete the inode items and orphan or some error
happened, we can use a single exit label if we initialize the block
reserve to NULL, since btrfs_free_block_rsv() ignores a NULL block reserve
pointer. So just do that. It will also make an upcoming change simpler by
avoiding one extra error label.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions