From: Nicholas Bellinger Date: Fri, 20 May 2011 03:19:13 +0000 (-0700) Subject: [SCSI] target: Convert REPORT_LUNs to use int_to_scsilun X-Git-Tag: v3.0-rc1~33^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60b7a0fc918245c6fb8cc2b15e570e040d8f38b;p=pandora-kernel.git [SCSI] target: Convert REPORT_LUNs to use int_to_scsilun This patch converts transport_core_report_lun_response() to use drivers/scsi/scsi_scan.c:int_to_scsilun instead of using the struct target_core_fabric_ops->pack_lun() fabric provided API vector. It also removes the tfo->pack_lun check from target_fabric_tf_ops_check() and removes from struct target_core_fabric_ops->pack_lun() from target_core_fabric_ops.h, and the following mainline scsi-misc fabric modules: *) tcm_loop: Drop tcm_loop_pack_lun() usage *) tcm_fc: Drop ft_pack_lun() usage Reported-by: Mike Christie Signed-off-by: Nicholas A. Bellinger Signed-off-by: James Bottomley --- Reading git-diff-tree failed