qla2xxx: Fix regression introduced by target configFS changes
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Tue, 24 Nov 2015 17:20:15 +0000 (12:20 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 29 Nov 2015 03:52:10 +0000 (19:52 -0800)
commit3786dc454fa4c10b129acc0535705f1c5a64fc72
treed8b1a7493aeb0fda0ef68b991015540d80ff5239
parent3a66d7dca186ebdef9b0bf55e216778fa598062c
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: 2eafd72939fd ("target: use per-attribute show and store methods")
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c