[PATCH 5.10 096/154] scsi: core: sysfs: Fix hang when device state is set via sysfs