[PATCH] [LIO-Target/ConfigFS]: Convert iSCSI Target Portal Group attributes to use configfs.h macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Following in line with commit:

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=commit;h=ceae11470d537dbaf10575f3238bb4fce81333ef

convert all iSCSI TPG attributes to use CONFIGFS_ATTR_STRUCT(), __CONFIGFS_ATTR()
and CONFIGFS_ATTR_OPS() from include/linux/configfs.h to instead of using internal
->show() / ->store() with struct lio_target_configfs_attribute.

Signed-off-by: Nicholas A. Bellinger
---
 drivers/lio-core/iscsi_target_configfs.c |  141 +++++++++++++++++-------------
 drivers/lio-core/iscsi_target_core.h     |    3 +-
 drivers/lio-core/iscsi_target_tpg.c      |    2 +
 3 files changed, 85 insertions(+), 61 deletions(-)

Attachment: 0001-LIO-Target-ConfigFS-Convert-iSCSI-Target-Portal-G.patch
Description: application/mbox


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux