| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2010 Cisco Systems, Inc. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 6 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 11 | | - * more details. |
|---|
| 12 | | - * |
|---|
| 13 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 14 | | - * this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 15 | | - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 16 | 4 | */ |
|---|
| 17 | 5 | |
|---|
| 18 | 6 | /* XXX TBD some includes may be extraneous */ |
|---|
| .. | .. |
|---|
| 182 | 170 | */ |
|---|
| 183 | 171 | target_put_sess_cmd(&cmd->se_cmd); |
|---|
| 184 | 172 | return 0; |
|---|
| 185 | | -} |
|---|
| 186 | | - |
|---|
| 187 | | -int ft_write_pending_status(struct se_cmd *se_cmd) |
|---|
| 188 | | -{ |
|---|
| 189 | | - struct ft_cmd *cmd = container_of(se_cmd, struct ft_cmd, se_cmd); |
|---|
| 190 | | - |
|---|
| 191 | | - return cmd->write_data_len != se_cmd->data_length; |
|---|
| 192 | 173 | } |
|---|
| 193 | 174 | |
|---|
| 194 | 175 | /* |
|---|
| .. | .. |
|---|
| 556 | 537 | case FCP_PTA_ACA: |
|---|
| 557 | 538 | task_attr = TCM_ACA_TAG; |
|---|
| 558 | 539 | break; |
|---|
| 559 | | - case FCP_PTA_SIMPLE: /* Fallthrough */ |
|---|
| 540 | + case FCP_PTA_SIMPLE: |
|---|
| 560 | 541 | default: |
|---|
| 561 | 542 | task_attr = TCM_SIMPLE_TAG; |
|---|
| 562 | 543 | } |
|---|