aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-02-11 11:01:15 +0000
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:45 +0100
commit17f6a74d0b89092e38e3328b66eda1ab29a195d4 (patch)
treec41c5f011205805fee17c006e520e60550c5d931 /tools/perf/scripts/python/exported-sql-viewer.py
parentbtrfs: send: simplify return logic from get_cur_inode_state() (diff)
downloadlinux-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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions