[PATCH openEuler-5.10 099/136] scsi: sd: block: Fix regressions in read-only block device handling