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