projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iomap: pass the length of the dirty region to ->map_blocks
[linux-block.git]
/
block
/
fops.c
diff --git
a/block/fops.c
b/block/fops.c
index 0cf8cf72cdfa108926ae8fc7f53bce05a3225058..93bae17ce660c8a4db190743eb713dde6770a853 100644
(file)
--- a/
block/fops.c
+++ b/
block/fops.c
@@
-482,7
+482,7
@@
static void blkdev_readahead(struct readahead_control *rac)
}
static int blkdev_map_blocks(struct iomap_writepage_ctx *wpc,
- struct inode *inode, loff_t offset)
+ struct inode *inode, loff_t offset
, unsigned int len
)
{
loff_t isize = i_size_read(inode);