From: James Bottomley Subject: Re: [PATCH 5/6] target: Convert REPORT_LUNs to use int_to_scsilun Date: Tue, 24 May 2011 13:02:57 -0400 Message-ID: <1306256577.10201.13.camel@mulgrave.site> References: <1305861554-29960-1-git-send-email-nab@linux-iscsi.org> <1305861554-29960-6-git-send-email-nab@linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1305861554-29960-6-git-send-email-nab@linux-iscsi.org> Sender: linux-kernel-owner@vger.kernel.org To: "Nicholas A. Bellinger" Cc: linux-kernel , linux-scsi , Christoph Hellwig , Hannes Reinecke , FUJITA Tomonori , Andy Grover , Mike Christie , Boaz Harrosh , Andrew Morton , Martin Svec List-Id: linux-scsi@vger.kernel.org On Thu, 2011-05-19 at 20:19 -0700, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > 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 There's no way this or the following patch count as bug fixes. They're converging hand rolled functions and definitions (which is good, but not a bug fix). James