diff options
author | Hugh Dickins <[email protected]> | 2011-08-03 16:21:21 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-08-03 14:25:23 -1000 |
commit | bda97eab0cc9c6385b9f26abdda6459f630f4513 (patch) | |
tree | bfa418b90c5889a1cd33836fd8f0a2f0232e3dac /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 41ffe5d5ceef7f7ff2ff18e320d88ca6d629efaf (diff) |
tmpfs: copy truncate_inode_pages_range
Bring truncate.c's code for truncate_inode_pages_range() inline into
shmem_truncate_range(), replacing its first call (there's a followup
call below, but leave that one, it will disappear next).
Don't play with it yet, apart from leaving out the cleancache flush, and
(importantly) the nrpages == 0 skip, and moving shmem_setattr()'s
partial page preparation into its partial page handling.
Signed-off-by: Hugh Dickins <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions