]> git.baikalelectronics.ru Git - kernel.git/commit
target: replace se_cmd->execute_rw with a protocol_data field
authorChristoph Hellwig <hch@lst.de>
Fri, 19 Jun 2015 13:10:58 +0000 (15:10 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 23 Jun 2015 07:43:42 +0000 (00:43 -0700)
commitcf6889343a04300504f14bf567c574e67ec22a29
treec712c1dabef5628269b28038b2e757e820884de4
parent624ada848b32ac634456d6302ccfabd671136d46
target: replace se_cmd->execute_rw with a protocol_data field

Instead of leaking this SBC read/write implementation detail just add an
opaqueue protocol specific pointer to struct se_cmd that we can assign
the sbc_ops vector to.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c
include/target/target_core_base.h