projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2cb29
)
null_blk: don't pass always-0 req->errors to blk_mq_complete_request
author
Christoph Hellwig
<hch@lst.de>
Thu, 20 Apr 2017 14:03:03 +0000
(16:03 +0200)
committer
Jens Axboe
<axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000
(12:16 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c
patch
|
blob
|
history
diff --git
a/drivers/block/null_blk.c
b/drivers/block/null_blk.c
index e79e3d24e2292459cf0ffd7a59efdccdb486464f..0ca4aa34edb9cf6450eb83ab4ed3a511ccadae36 100644
(file)
--- a/
drivers/block/null_blk.c
+++ b/
drivers/block/null_blk.c
@@
-281,7
+281,7
@@
static inline void null_handle_cmd(struct nullb_cmd *cmd)
case NULL_IRQ_SOFTIRQ:
switch (queue_mode) {
case NULL_Q_MQ:
- blk_mq_complete_request(cmd->rq,
cmd->rq->errors
);
+ blk_mq_complete_request(cmd->rq,
0
);
break;
case NULL_Q_RQ:
blk_complete_request(cmd->rq);