Thread (3 messages) 3 messages, 3 authors, 2021-11-23

Re: [PATCH 1/1] scsi: Fix setting device state to running

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-11-23 03:45:15

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help