Hugh Dickins bda97eab0c 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 <hughd@google.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-08-03 14:25:23 -10:00
..
2011-07-25 20:57:14 -07:00
2011-08-03 14:25:22 -10:00
2011-07-25 20:57:09 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-20 20:47:46 -04:00
2011-07-25 20:57:09 -07:00
2011-08-03 14:25:23 -10:00
2011-07-31 18:14:21 +03:00
2011-07-26 16:49:47 -07:00
2011-07-25 20:57:07 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:42 -07:00