]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fc78ab8f0c18f9924cc540c02376637528a1323
treed532bfe908962dcf3fa9c28ad1ff6709e22943cd
parentc24f97581be1559e22434c8b9fac16ff811893c9
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