summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-08-26 13:35:58 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2012-09-17 17:13:34 -0700
commitfd30e9310253235e88a4eaa38fa92439b56c220e (patch)
treeeaa3c34f2c0baf84a407c92ff9d1f05b273e74fb /include/target
parent93d441a888c4aefd9f37b30911f8fefa27bdfda3 (diff)
downloadlinux-fd30e9310253235e88a4eaa38fa92439b56c220e.tar.gz
linux-fd30e9310253235e88a4eaa38fa92439b56c220e.tar.bz2
linux-fd30e9310253235e88a4eaa38fa92439b56c220e.zip
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>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_backend.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h
index 941c84bf1065..2acd54018b64 100644
--- a/include/target/target_core_backend.h
+++ b/include/target/target_core_backend.h
@@ -13,9 +13,6 @@ struct se_subsystem_api {
u8 transport_type;
- unsigned int fua_write_emulated : 1;
- unsigned int write_cache_emulated : 1;
-
int (*attach_hba)(struct se_hba *, u32);
void (*detach_hba)(struct se_hba *);
int (*pmode_enable_hba)(struct se_hba *, unsigned long);