aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-20 16:03:07 +0200
committerJens Axboe <axboe@fb.com>2017-04-20 12:16:10 -0600
commit4dda4735c581db6ee8e8c0dcc8b94563dfafff2f (patch)
tree8ca22fac567dbb1e668455923c53448416a3d32c /drivers/block/mtip32xx/mtip32xx.h
parentnbd: don't use req->errors (diff)
downloadlinux-dev-4dda4735c581db6ee8e8c0dcc8b94563dfafff2f.tar.xz
linux-dev-4dda4735c581db6ee8e8c0dcc8b94563dfafff2f.zip
mtip32xx: add a status field to struct mtip_cmd
Instead of using req->errors, which will go away. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index 7617888f7944..57b41528a824 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -352,6 +352,7 @@ struct mtip_cmd {
int retries; /* The number of retries left for this command. */
int direction; /* Data transfer direction */
+ int status;
};
/* Structure used to describe a port. */