diff options
author | Filipe Manana <[email protected]> | 2024-04-29 14:01:09 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-07-11 15:33:17 +0200 |
commit | d25f4ec17624b1b18ff2e0a3e9c2baa71c8a86f2 (patch) | |
tree | a8498595d0c4e0b2355623a7364023b7cffe3a1c /tools/perf/scripts/python/flamegraph.py | |
parent | 061ea8581b2e0ade913c8f5cd845e801976a577b (diff) |
btrfs: reduce nesting and deduplicate error handling at btrfs_iget_path()
Make btrfs_iget_path() simpler and easier to read by avoiding nesting of
if-then-else statements and having an error label to do all the error
handling instead of repeating it a couple times.
Reviewed-by: Qu Wenruo <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions