From: Nick Piggin Date: Tue, 16 Oct 2007 08:24:56 +0000 (-0700) Subject: mm: trim more holes X-Git-Tag: v2.6.24-rc1~1205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64649a58919e66ec21792dbb6c48cb3da22cbd7f;p=pandora-kernel.git mm: trim more holes If prepare_write fails with AOP_TRUNCATED_PAGE, or if commit_write fails, then we may have failed the write operation despite prepare_write having instantiated blocks past i_size. Fix this, and consolidate the trimming into one place. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed