projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1a61a
)
dm rq: don't pass irrelevant error code to blk_mq_complete_request
author
Christoph Hellwig
<hch@lst.de>
Thu, 20 Apr 2017 14:03:04 +0000
(16:03 +0200)
committer
Jens Axboe
<axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000
(12:16 -0600)
dm never uses rq->errors, so there is no need to pass an error argument
to blk_mq_complete_request.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm-rq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-rq.c
b/drivers/md/dm-rq.c
index e60f1b6845be12fbb5c99caba22a40776cc0d892..1173be21f6f6faa1bd73fbe35bdd1900b05f51d2 100644
(file)
--- a/
drivers/md/dm-rq.c
+++ b/
drivers/md/dm-rq.c
@@
-363,7
+363,7
@@
static void dm_complete_request(struct request *rq, int error)
if (!rq->q->mq_ops)
blk_complete_request(rq);
else
- blk_mq_complete_request(rq,
error
);
+ blk_mq_complete_request(rq,
0
);
}
/*