Skip to content
Commit 09d60c70 authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe
Browse files

block: make sure FSEQ_DATA request has the same rq_disk as the original



rq->rq_disk and bio->bi_bdev->bd_disk may differ if a request has
passed through remapping drivers.  FSEQ_DATA request incorrectly
followed bio->bi_bdev->bd_disk ending up being issued w/ mismatching
rq_disk.  Make it follow orig_rq->rq_disk.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Tested-by: default avatarKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 47f70d5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment