target: move sync_cache to struct spc_ops
authorChristoph Hellwig <hch@infradead.org>
Sun, 17 Jun 2012 22:40:53 +0000 (18:40 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:29:12 +0000 (17:29 -0700)
commitad67f0d9e63ca94661e06a145f05a9302368a826
tree2ada5604a0f61fa1f933f29cd4674f0cb95595c6
parent0c2ad7d1132d8b089b1d37875917858e03610019
target: move sync_cache to struct spc_ops

Add spc_ops->execute_sync_cache() caller for ->execute_cmd() setup,
and update IBLOCK + FILEIO backends to use it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_file.c
drivers/target/target_core_iblock.c
drivers/target/target_core_sbc.c
include/target/target_core_backend.h