From: Peter Zijlstra Date: Sun, 6 May 2007 21:49:55 +0000 (-0700) Subject: mm: optimize acorn partition truncate X-Git-Tag: v2.6.22-rc1~945 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96018fdacbfcaf6a0694d066b525f67c24025688;p=pandora-kernel.git mm: optimize acorn partition truncate invalidate_bdev() is superfluous when truncate_inode_pages() is also called. do call invalidate_bh_lrus() though, to avoid stale pointers. Signed-off-by: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed