|
@@ -444,7 +444,7 @@ int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask,
|
|
* copied from blk_rq_pos(rq).
|
|
* copied from blk_rq_pos(rq).
|
|
*/
|
|
*/
|
|
if (error_sector)
|
|
if (error_sector)
|
|
- *error_sector = bio->bi_sector;
|
|
|
|
|
|
+ *error_sector = bio->bi_sector;
|
|
|
|
|
|
if (!bio_flagged(bio, BIO_UPTODATE))
|
|
if (!bio_flagged(bio, BIO_UPTODATE))
|
|
ret = -EIO;
|
|
ret = -EIO;
|