[PATCH openEuler-22.03-LTS 01/26] xfs: don't allow log writes if the data device is readonly