target: Fix target_submit_tmr se_tmr_req allocation failures
[firefly-linux-kernel-4.4.55.git] / include / target / target_core_fabric.h
index 04ead086610858e9e7d5c775af9ac9124df08178..77a3b6e4f44ccf3ac2a7655ef6d5833a325f2ff3 100644 (file)
@@ -116,7 +116,7 @@ int transport_lookup_cmd_lun(struct se_cmd *, u32);
 int    transport_generic_allocate_tasks(struct se_cmd *, unsigned char *);
 void   target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *,
                unsigned char *, u32, u32, int, int, int);
-void   target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess,
+int    target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess,
                unsigned char *sense, u32 unpacked_lun,
                void *fabric_tmr_ptr, unsigned char tm_type, int flags);
 int    transport_handle_cdb_direct(struct se_cmd *);