diff options
Diffstat (limited to 'drivers/md/bcache/request.c')
-rw-r--r-- | drivers/md/bcache/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index 83731dc36f34..e5ff12e52d5b 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c | |||
@@ -1220,7 +1220,7 @@ static void cached_dev_make_request(struct request_queue *q, struct bio *bio) | |||
1220 | part_stat_unlock(); | 1220 | part_stat_unlock(); |
1221 | 1221 | ||
1222 | bio->bi_bdev = dc->bdev; | 1222 | bio->bi_bdev = dc->bdev; |
1223 | bio->bi_sector += BDEV_DATA_START; | 1223 | bio->bi_sector += dc->sb.data_offset; |
1224 | 1224 | ||
1225 | if (cached_dev_get(dc)) { | 1225 | if (cached_dev_get(dc)) { |
1226 | s = search_alloc(bio, d); | 1226 | s = search_alloc(bio, d); |