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/event_analyzing_sample.py | |
| parent | btrfs: send: simplify return logic from get_cur_inode_state() (diff) | |
| download | linux-17f6a74d0b89092e38e3328b66eda1ab29a195d4.tar.gz linux-17f6a74d0b89092e38e3328b66eda1ab29a195d4.zip | |
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
