diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-08-26 16:35:58 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-09-17 20:13:34 -0400 |
commit | fd30e9310253235e88a4eaa38fa92439b56c220e (patch) | |
tree | eaa3c34f2c0baf84a407c92ff9d1f05b273e74fb /include/target | |
parent | 93d441a888c4aefd9f37b30911f8fefa27bdfda3 (diff) |
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.h | 3 |
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 { | |||
13 | 13 | ||
14 | u8 transport_type; | 14 | u8 transport_type; |
15 | 15 | ||
16 | unsigned int fua_write_emulated : 1; | ||
17 | unsigned int write_cache_emulated : 1; | ||
18 | |||
19 | int (*attach_hba)(struct se_hba *, u32); | 16 | int (*attach_hba)(struct se_hba *, u32); |
20 | void (*detach_hba)(struct se_hba *); | 17 | void (*detach_hba)(struct se_hba *); |
21 | int (*pmode_enable_hba)(struct se_hba *, unsigned long); | 18 | int (*pmode_enable_hba)(struct se_hba *, unsigned long); |