target: Drop se_subsystem_api->[write_cache,fua_write]_emulated flags
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 26 Aug 2012 20:35:58 +0000 (13:35 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:34 +0000 (17:13 -0700)
commitfd30e9310253235e88a4eaa38fa92439b56c220e
treeeaa3c34f2c0baf84a407c92ff9d1f05b273e74fb
parent93d441a888c4aefd9f37b30911f8fefa27bdfda3
target: Drop se_subsystem_api->[write_cache,fua_write]_emulated flags

This patch drops se_subsystem_api->[write_cache,fua_write]_emulated flags
set by viritual FILEIO/IBLOCK/RD_MCP backend drivers in favor of explict
TRANSPORT_PLUGIN_PHBA_PDEV checks to know when to fail if userspace is
attempting to set virtual emulation bits for an pSCSI (passthrough)
backend device.

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