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