]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 26 Oct 2012 19:30:13 +0000 (12:30 -0700)
commitc6aca3683188946ee6ba6da01376a71409fcd140
tree54d670c2c323b5a0228e4bd7f5f9e2bb90942243
parentb50e5814584b62a0b6e67df8729c95039d7715ed
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