Baokun Li b459917271 scsi: iscsi: Adjust iface sysfs attr detection
[ Upstream commit 4e28550829258f7dab97383acaa477bd724c0ff4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-06 15:05:06 +02:00
..
2019-02-12 19:46:13 +01:00
2021-07-20 16:17:49 +02:00
2021-07-20 16:17:49 +02:00
2018-01-02 20:31:05 +01:00
2017-08-25 17:21:11 -04:00
2017-08-25 17:21:10 -04:00
2019-12-01 09:13:27 +01:00
2021-05-22 10:57:31 +02:00
2017-08-25 17:21:11 -04:00
2017-09-07 12:12:43 -07:00
2021-05-22 10:57:31 +02:00
2021-05-22 10:57:31 +02:00