diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-02-11 11:01:15 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:45 +0100 |
commit | 17f6a74d0b89092e38e3328b66eda1ab29a195d4 (patch) | |
tree | c41c5f011205805fee17c006e520e60550c5d931 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91e9139e5b2531c53e165114227134d68b17c4f5 (diff) |
btrfs: send: factor out common logic when sending xattrs
We always send xattrs for the current inode only and both callers of
send_set_xattr() pass a path for the current inode. So move the path
allocation and computation to send_set_xattr(), reducing duplicated
code. This also facilitates an upcoming patch.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions