[XFS] Cleanup xfs_attr a bit with xfs_name and remove cred