summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-07-25 17:12:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:10 -0700
commit8a549bea51138be2126a2cc6aabe8f17ef66b79b (patch)
treedc6e0afdf59808238dd44c685d897da98852fca5 /mm/filemap.c
parent85821aab39b3403a8b5731812a930b78684d1642 (diff)
downloadtalos-obmc-linux-8a549bea51138be2126a2cc6aabe8f17ef66b79b.tar.gz
talos-obmc-linux-8a549bea51138be2126a2cc6aabe8f17ef66b79b.zip
mm: tidy vmtruncate_range and related functions
Use consistent variable names in truncate_pagecache(), truncate_setsize(), vmtruncate() and vmtruncate_range(). unmap_mapping_range() and vmtruncate_range() have mismatched interfaces: don't change either, but make the vmtruncates more precise about what they expect unmap_mapping_range() to do. vmtruncate_range() is currently called only with page-aligned start and end+1: can handle unaligned start, but unaligned end+1 would hit BUG_ON in truncate_inode_pages_range() (lacks partial clearing of the end page). Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud