Thread (2 messages) 2 messages, 2 authors, 2021-07-21

Re: [PATCH 1/1] scsi: iscsi: Fix iface sysfs attr detection

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-07-21 03:23:02

On Wed, 30 Jun 2021 19:25:59 -0500, Mike Christie wrote:
A ISCSI_IFACE_PARAM can have the same value as a ISCSI_NET_PARAM so when
iscsi_iface_attr_is_visible tries to figure out the type by just checking
the value, we can collide and return the wrong type. When we call into the
driver we might not match and return that we don't want attr visible in
sysfs. The patch fixes this by setting the type when we figure out what
the param is.
Applied to 5.14/scsi-fixes, thanks!

[1/1] scsi: iscsi: Fix iface sysfs attr detection
      https://git.kernel.org/mkp/scsi/c/e746f3451ec7

-- 
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