mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qla2xxx: Fix regression introduced by target configFS changes
this patch fixes following regression
# targetcli
[Errno 13] Permission denied: '/sys/kernel/config/target/qla2xxx/21:00:00:0e:1e:08:c7:20/tpgt_1/enable'
Fixes: 2eafd72939 ("target: use per-attribute show and store methods")
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Giridhar Malavali <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
3a66d7dca1
commit
3786dc454f
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ static ssize_t tcm_qla2xxx_tpg_fabric_prot_type_show(struct config_item *item,
|
|||
return sprintf(page, "%d\n", tpg->tpg_attrib.fabric_prot_type);
|
||||
}
|
||||
|
||||
CONFIGFS_ATTR_WO(tcm_qla2xxx_tpg_, enable);
|
||||
CONFIGFS_ATTR(tcm_qla2xxx_tpg_, enable);
|
||||
CONFIGFS_ATTR_RO(tcm_qla2xxx_tpg_, dynamic_sessions);
|
||||
CONFIGFS_ATTR(tcm_qla2xxx_tpg_, fabric_prot_type);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue