diff options
author | 2015-03-26 12:27:35 +0100 | |
---|---|---|
committer | 2015-03-26 14:53:05 -0700 | |
commit | 3abff1e5b0ab19900364cf1faddb92d64f9ee2cb (patch) | |
tree | cc682ed9bca484370ed61917b27ff7c7cb70d610 /drivers/target/target_core_iblock.c | |
parent | target: add __releases annotation to target_release_cmd_kref (diff) | |
download | linux-3abff1e5b0ab19900364cf1faddb92d64f9ee2cb.tar.gz linux-3abff1e5b0ab19900364cf1faddb92d64f9ee2cb.tar.bz2 linux-3abff1e5b0ab19900364cf1faddb92d64f9ee2cb.zip |
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_iblock.c')
-rw-r--r-- | drivers/target/target_core_iblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index d4a4b0fb444a..2520cbfba524 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -444,7 +444,7 @@ iblock_execute_write_same_unmap(struct se_cmd *cmd) struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; sector_t lba = cmd->t_task_lba; sector_t nolb = sbc_get_write_same_sectors(cmd); - int ret; + sense_reason_t ret; ret = iblock_do_unmap(cmd, bdev, lba, nolb); if (ret) |