[XFS] split out two helpers from xfs_syncsub