diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 1c18a22a6013..0736a6a2e2f0 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -1592,7 +1592,7 @@ void clean_bdev_aliases(struct block_device *bdev, sector_t block, sector_t len) | |||
1592 | struct buffer_head *head; | 1592 | struct buffer_head *head; |
1593 | 1593 | ||
1594 | end = (block + len - 1) >> (PAGE_SHIFT - bd_inode->i_blkbits); | 1594 | end = (block + len - 1) >> (PAGE_SHIFT - bd_inode->i_blkbits); |
1595 | pagevec_init(&pvec, 0); | 1595 | pagevec_init(&pvec); |
1596 | while (pagevec_lookup_range(&pvec, bd_mapping, &index, end)) { | 1596 | while (pagevec_lookup_range(&pvec, bd_mapping, &index, end)) { |
1597 | count = pagevec_count(&pvec); | 1597 | count = pagevec_count(&pvec); |
1598 | for (i = 0; i < count; i++) { | 1598 | for (i = 0; i < count; i++) { |
@@ -3514,7 +3514,7 @@ page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, | |||
3514 | if (length <= 0) | 3514 | if (length <= 0) |
3515 | return -ENOENT; | 3515 | return -ENOENT; |
3516 | 3516 | ||
3517 | pagevec_init(&pvec, 0); | 3517 | pagevec_init(&pvec); |
3518 | 3518 | ||
3519 | do { | 3519 | do { |
3520 | unsigned nr_pages, i; | 3520 | unsigned nr_pages, i; |