projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: Abstract out bvec iterator
[linux-2.6-block.git]
/
drivers
/
md
/
bcache
/
writeback.h
diff --git
a/drivers/md/bcache/writeback.h
b/drivers/md/bcache/writeback.h
index c9ddcf4614b9300701c9867033c82bc13cadf472..e2f8598937ac41ff5c7577bc5e65aeb39de95386 100644
(file)
--- a/
drivers/md/bcache/writeback.h
+++ b/
drivers/md/bcache/writeback.h
@@
-50,7
+50,7
@@
static inline bool should_writeback(struct cached_dev *dc, struct bio *bio,
return false;
if (dc->partial_stripes_expensive &&
- bcache_dev_stripe_dirty(dc, bio->bi_sector,
+ bcache_dev_stripe_dirty(dc, bio->bi_
iter.bi_
sector,
bio_sectors(bio)))
return true;