[PATCH openEuler-5.10 090/146] scsi: core: sysfs: Fix hang when device state is set via sysfs