diff options
author | Hans Reiser <reiser@namesys.com> | 2006-01-06 09:10:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 17:33:22 +0100 |
commit | d7339071f6a8b50101d7ba327926b770f22d5d8b (patch) | |
tree | 051234ada89be22abb9ebbe4a541b16ade3bc2ff /include/asm-m32r/mman.h | |
parent | [PATCH] memhotplug: register_memory should be global (diff) | |
download | linux-d7339071f6a8b50101d7ba327926b770f22d5d8b.tar.xz linux-d7339071f6a8b50101d7ba327926b770f22d5d8b.zip |
[PATCH] reiser4: vfs: add truncate_inode_pages_range()
This patch makes truncate_inode_pages_range from truncate_inode_pages.
truncate_inode_pages became a one-liner call to truncate_inode_pages_range.
Reiser4 needs truncate_inode_pages_ranges because it tries to keep
correspondence between existences of metadata pointing to data pages and pages
to which those metadata point to. So, when metadata of certain part of file
is removed from filesystem tree, only pages of corresponding range are to be
truncated.
(Needed by the madvise(MADV_REMOVE) patch)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m32r/mman.h')
0 files changed, 0 insertions, 0 deletions