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