diff options
author | 2012-08-26 13:35:58 -0700 | |
---|---|---|
committer | 2012-09-17 17:13:34 -0700 | |
commit | fd30e9310253235e88a4eaa38fa92439b56c220e (patch) | |
tree | eaa3c34f2c0baf84a407c92ff9d1f05b273e74fb /drivers/target/target_core_iblock.c | |
parent | target: remove unused including <generated/utsrelease.h> (diff) | |
download | linux-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 'drivers/target/target_core_iblock.c')
-rw-r--r-- | drivers/target/target_core_iblock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index 0f6ece80bffe..5b745bb56a68 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -766,8 +766,6 @@ static struct se_subsystem_api iblock_template = { .name = "iblock", .owner = THIS_MODULE, .transport_type = TRANSPORT_PLUGIN_VHBA_PDEV, - .write_cache_emulated = 1, - .fua_write_emulated = 1, .attach_hba = iblock_attach_hba, .detach_hba = iblock_detach_hba, .allocate_virtdevice = iblock_allocate_virtdevice, |