[PATCH 6.12.y 1/7] btrfs: send: factor out common logic when sending xattrs