[PATCH 5.4 058/100] scsi: core: sysfs: Fix hang when device state is set via sysfs