summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorBaokun Li <libaokun1@huawei.com>2021-09-01 16:53:36 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-09-13 22:15:43 -0400
commit4e28550829258f7dab97383acaa477bd724c0ff4 (patch)
tree6ba2c2362f86ab9e9f600768f95cc3f378790940 /drivers/scsi/sd.c
parent65ef27f7798b57138351d28fd2f61f2afa164400 (diff)
downloadlinux-4e28550829258f7dab97383acaa477bd724c0ff4.tar.gz
linux-4e28550829258f7dab97383acaa477bd724c0ff4.tar.bz2
linux-4e28550829258f7dab97383acaa477bd724c0ff4.zip
scsi: iscsi: Adjust iface sysfs attr detection
ISCSI_NET_PARAM_IFACE_ENABLE belongs to enum iscsi_net_param instead of iscsi_iface_param so move it to ISCSI_NET_PARAM. Otherwise, when we call into the driver, we might not match and return that we don't want attr visible in sysfs. Found in code review. Link: https://lore.kernel.org/r/20210901085336.2264295-1-libaokun1@huawei.com Fixes: e746f3451ec7 ("scsi: iscsi: Fix iface sysfs attr detection") Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Baokun Li <libaokun1@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions