[PATCH openEuler-1.0-LTS 05/82] scsi: sd: block: Fix regressions in read-only block device handling