target: Move MAINTENANCE_[IN,OUT] from pscsi_parse_cdb -> spc_parse_cdb
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 30 May 2012 21:09:10 +0000 (14:09 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:28:40 +0000 (17:28 -0700)
commiteba2ca450526c1aaf2bfd363dffd63b024e80ea7
treed532bfe908962dcf3fa9c28ad1ff6709e22943cd
parent3d6d72014f16967ca92765040be30f022c5952e6
target: Move MAINTENANCE_[IN,OUT] from pscsi_parse_cdb -> spc_parse_cdb

The MAINTENANCE_[IN,OUT] CDB parsing required for generic ALUA emulation
needs to be in spc_parse_cdb() to function for virtual TYPE_DISK exports,
instead of in backend pscsi_parse_cdb() code used only for passthrough ops.

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