diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-20 16:03:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 20:16:10 +0200 |
commit | 4dda4735c581db6ee8e8c0dcc8b94563dfafff2f (patch) | |
tree | 8ca22fac567dbb1e668455923c53448416a3d32c /drivers/block/mtip32xx/mtip32xx.h | |
parent | nbd: don't use req->errors (diff) | |
download | linux-4dda4735c581db6ee8e8c0dcc8b94563dfafff2f.tar.xz linux-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 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 1 |
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. */ |