diff options
author | Leo Martins <[email protected]> | 2024-08-30 13:24:54 -0700 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-11-11 14:34:21 +0100 |
commit | 69673992b1aea5540199d9b8b658ede72f55a6cf (patch) | |
tree | aedac278dcdac93ad042116a7a4ee53d90304855 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df3b8ca604f224eb4cd51669416ad4d607682273 (diff) |
btrfs: push cleanup into btrfs_read_locked_inode()
Move btrfs_add_inode_to_root() so it can be called from
btrfs_read_locked_inode(), no changes were made to the function.
Move cleanup code from btrfs_iget_path() to btrfs_read_locked_inode.
This improves readability and improves a leaky abstraction. Previously
btrfs_iget_path() had to handle a positive error case as a result of a
call to btrfs_search_slot(), but it makes more sense to handle this
closer to the source of the call.
Signed-off-by: Leo Martins <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions