diff options
Diffstat (limited to 'drivers/target/tcm_fc')
-rw-r--r-- | drivers/target/tcm_fc/tcm_fc.h | 2 | ||||
-rw-r--r-- | drivers/target/tcm_fc/tfc_cmd.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/target/tcm_fc/tcm_fc.h b/drivers/target/tcm_fc/tcm_fc.h index 3749d8b4b42..e05c55100ec 100644 --- a/drivers/target/tcm_fc/tcm_fc.h +++ b/drivers/target/tcm_fc/tcm_fc.h | |||
@@ -156,7 +156,7 @@ int ft_lport_notify(struct notifier_block *, unsigned long, void *); | |||
156 | /* | 156 | /* |
157 | * IO methods. | 157 | * IO methods. |
158 | */ | 158 | */ |
159 | void ft_check_stop_free(struct se_cmd *); | 159 | int ft_check_stop_free(struct se_cmd *); |
160 | void ft_release_cmd(struct se_cmd *); | 160 | void ft_release_cmd(struct se_cmd *); |
161 | int ft_queue_status(struct se_cmd *); | 161 | int ft_queue_status(struct se_cmd *); |
162 | int ft_queue_data_in(struct se_cmd *); | 162 | int ft_queue_data_in(struct se_cmd *); |
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index 6195026cc7b..4fac37c4c61 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c | |||
@@ -112,9 +112,10 @@ void ft_release_cmd(struct se_cmd *se_cmd) | |||
112 | ft_free_cmd(cmd); | 112 | ft_free_cmd(cmd); |
113 | } | 113 | } |
114 | 114 | ||
115 | void ft_check_stop_free(struct se_cmd *se_cmd) | 115 | int ft_check_stop_free(struct se_cmd *se_cmd) |
116 | { | 116 | { |
117 | transport_generic_free_cmd(se_cmd, 0); | 117 | transport_generic_free_cmd(se_cmd, 0); |
118 | return 1; | ||
118 | } | 119 | } |
119 | 120 | ||
120 | /* | 121 | /* |