From: Hugh Dickins Date: Wed, 3 Aug 2011 23:21:21 +0000 (-0700) Subject: tmpfs: copy truncate_inode_pages_range X-Git-Tag: v3.1-rc1~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda97eab0cc9c6385b9f26abdda6459f630f4513;p=pandora-kernel.git 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 Acked-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed