diff options
Diffstat (limited to 'kernel/include/target')
-rw-r--r-- | kernel/include/target/target_core_backend.h | 2 | ||||
-rw-r--r-- | kernel/include/target/target_core_base.h | 2 | ||||
-rw-r--r-- | kernel/include/target/target_core_fabric.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/kernel/include/target/target_core_backend.h b/kernel/include/target/target_core_backend.h index 28ee5c2e6..711322a8e 100644 --- a/kernel/include/target/target_core_backend.h +++ b/kernel/include/target/target_core_backend.h @@ -96,6 +96,6 @@ sense_reason_t passthrough_parse_cdb(struct se_cmd *cmd, bool target_sense_desc_format(struct se_device *dev); sector_t target_to_linux_sector(struct se_device *dev, sector_t lb); bool target_configure_unmap_from_queue(struct se_dev_attrib *attrib, - struct request_queue *q, int block_size); + struct request_queue *q); #endif /* TARGET_CORE_BACKEND_H */ diff --git a/kernel/include/target/target_core_base.h b/kernel/include/target/target_core_base.h index 689f4d207..6afc6f388 100644 --- a/kernel/include/target/target_core_base.h +++ b/kernel/include/target/target_core_base.h @@ -139,6 +139,7 @@ enum se_cmd_flags_table { SCF_COMPARE_AND_WRITE_POST = 0x00100000, SCF_PASSTHROUGH_PROT_SG_TO_MEM_NOALLOC = 0x00200000, SCF_ACK_KREF = 0x00400000, + SCF_TASK_ATTR_SET = 0x01000000, }; /* struct se_dev_entry->lun_flags and struct se_lun->lun_access */ @@ -179,6 +180,7 @@ enum tcm_sense_reason_table { TCM_LOGICAL_BLOCK_GUARD_CHECK_FAILED = R(0x15), TCM_LOGICAL_BLOCK_APP_TAG_CHECK_FAILED = R(0x16), TCM_LOGICAL_BLOCK_REF_TAG_CHECK_FAILED = R(0x17), + TCM_COPY_TARGET_DEVICE_NOT_REACHABLE = R(0x18), #undef R }; diff --git a/kernel/include/target/target_core_fabric.h b/kernel/include/target/target_core_fabric.h index 7fb2557a7..ce9ea736f 100644 --- a/kernel/include/target/target_core_fabric.h +++ b/kernel/include/target/target_core_fabric.h @@ -163,7 +163,6 @@ int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t); void core_tmr_release_req(struct se_tmr_req *); int transport_generic_handle_tmr(struct se_cmd *); void transport_generic_request_failure(struct se_cmd *, sense_reason_t); -void __target_execute_cmd(struct se_cmd *); int transport_lookup_tmr_lun(struct se_cmd *, u64); void core_allocate_nexus_loss_ua(struct se_node_acl *acl); |