git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: convert to pos and nr_sectors accessors
[safe/jmp/linux-2.6]
/
block
/
blk-barrier.c
diff --git
a/block/blk-barrier.c
b/block/blk-barrier.c
index
c167de5
..
8713c2f
100644
(file)
--- a/
block/blk-barrier.c
+++ b/
block/blk-barrier.c
@@
-324,7
+324,7
@@
int blkdev_issue_flush(struct block_device *bdev, sector_t *error_sector)
/*
* The driver must store the error location in ->bi_sector, if
* it supports it. For non-stacked drivers, this should be copied
- * from
rq->sector
.
+ * from
blk_rq_pos(rq)
.
*/
if (error_sector)
*error_sector = bio->bi_sector;