aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-03-26 12:27:35 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-03-26 14:53:05 -0700
commit3abff1e5b0ab19900364cf1faddb92d64f9ee2cb (patch)
treecc682ed9bca484370ed61917b27ff7c7cb70d610 /drivers/target/target_core_file.c
parent077aa3b2db67dd43781e9ca1635e542696c39269 (diff)
target: add missing sense_reason_t annotations
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_file.c')
-rw-r--r--drivers/target/target_core_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_file.c b/drivers/target/target_core_file.c
index 8800d54f743b..cd9393545b7a 100644
--- a/drivers/target/target_core_file.c
+++ b/drivers/target/target_core_file.c
@@ -536,7 +536,7 @@ fd_execute_write_same_unmap(struct se_cmd *cmd)
struct file *file = fd_dev->fd_file;
sector_t lba = cmd->t_task_lba;
sector_t nolb = sbc_get_write_same_sectors(cmd);
- int ret;
+ sense_reason_t ret;
if (!nolb) {
target_complete_cmd(cmd, SAM_STAT_GOOD);

Privacy Policy