diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 22:42:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 22:42:40 -0500 |
commit | 7c225c69f86c934e3be9be63ecde754e286838d7 (patch) | |
tree | ff2df419b0c4886b37407235f7d21215e4cf45e4 /fs/buffer.c | |
parent | 6363b3f3ac5be096d08c8c504128befa0c033529 (diff) | |
parent | 1b7176aea0a924ac59c6a283129d3e8eb00aa915 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton:
- a few misc bits
- ocfs2 updates
- almost all of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (131 commits)
memory hotplug: fix comments when adding section
mm: make alloc_node_mem_map a void call if we don't have CONFIG_FLAT_NODE_MEM_MAP
mm: simplify nodemask printing
mm,oom_reaper: remove pointless kthread_run() error check
mm/page_ext.c: check if page_ext is not prepared
writeback: remove unused function parameter
mm: do not rely on preempt_count in print_vma_addr
mm, sparse: do not swamp log with huge vmemmap allocation failures
mm/hmm: remove redundant variable align_end
mm/list_lru.c: mark expected switch fall-through
mm/shmem.c: mark expected switch fall-through
mm/page_alloc.c: broken deferred calculation
mm: don't warn about allocations which stall for too long
fs: fuse: account fuse_inode slab memory as reclaimable
mm, page_alloc: fix potential false positive in __zone_watermark_ok
mm: mlock: remove lru_add_drain_all()
mm, sysctl: make NUMA stats configurable
shmem: convert shmem_init_inodecache() to void
Unify migrate_pages and move_pages access checks
mm, pagevec: rename pagevec drained field
...
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; |