target/pscsi: call spc_emulate_report_luns directly
authorChristoph Hellwig <hch@infradead.org>
Sun, 7 Oct 2012 14:55:52 +0000 (10:55 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 7 Nov 2012 04:55:44 +0000 (20:55 -0800)
commit8de530a523fd3cc46b5d8d96f3016298c5c808ac
tree1a1fee222c4e5c834023d871363aea9ee49cc41b
parentd1b1f8053401aaf1dfe636afa6d361301e3ae8b7
target/pscsi: call spc_emulate_report_luns directly

No need to indirect through spc_parse_cdb if we only ever call it for
REPORT LUNS emulation.

(nab: Add missing EXPORT_SYMBOL for spc_emulate_report_luns)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pscsi.c
drivers/target/target_core_spc.c
include/target/target_core_backend.h