[PATCH openEuler-5.10 37/81] xfs: factor out a xfs_ilock_iocb helper