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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user