On Sat, 20 Nov 2021 10:49:17 -0600, Mike Christie wrote: > This fixes an issue added in: > > commit 4edd8cd4e86d ("scsi: core: sysfs: Fix hang when device state is set > via sysfs") > > where if userspace is requesting to set the device state to SDEV_RUNNING > when the state is already SDEV_RUNNING, we return -EINVAL instead of > count. The commmit above set ret to count for this case, when it should > have set it to 0. > > [...] Applied to 5.16/scsi-fixes, thanks! [1/1] scsi: Fix setting device state to running https://git.kernel.org/mkp/scsi/c/eb97545d6264 -- Martin K. Petersen Oracle Linux Engineering