diff options
author | Kirill A. Shutemov | 2014-04-08 00:37:21 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-04-08 01:35:53 +0200 |
commit | 99e3e53f4e0fd807607bf381e14f6de8feedd383 (patch) | |
tree | 58f9324322ca4cd8d877507514d14f123c243e44 /mm/balloon_compaction.c | |
parent | mm: implement ->map_pages for page cache (diff) | |
download | kernel-qcow2-linux-99e3e53f4e0fd807607bf381e14f6de8feedd383.tar.gz kernel-qcow2-linux-99e3e53f4e0fd807607bf381e14f6de8feedd383.tar.xz kernel-qcow2-linux-99e3e53f4e0fd807607bf381e14f6de8feedd383.zip |
mm: cleanup size checks in filemap_fault() and filemap_map_pages()
Minor cleanups:
- 'size' variable is now in bytes, not pages;
- use round_up(): it should be easier to read.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Ning Qu <quning@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/balloon_compaction.c')
0 files changed, 0 insertions, 0 deletions