pscsi: fix REPORT LUNS handling
authorChristoph Hellwig <hch@infradead.org>
Wed, 10 Oct 2012 20:52:48 +0000 (16:52 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 7 Nov 2012 04:55:45 +0000 (20:55 -0800)
commite6c4219b54ac9d0bd348ea59e606303f9aef1784
treec91190da38d6f4c8e68371ff3b2d49a7bfef64c1
parentecf0dd6642ecf7c0aff89c1be48b870586f4be4f
pscsi: fix REPORT LUNS handling

We need to assign spc_emulate_report_luns to the execute_cmd callback
and not execute it directly.

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