From: Christoph Hellwig Date: Tue, 5 Feb 2008 06:28:56 +0000 (-0800) Subject: clean up vmtruncate X-Git-Tag: v2.6.25-rc1~959 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61d5048f149572434daee0cce5e1374a8a7cf3e8;p=pandora-kernel.git clean up vmtruncate vmtruncate is a twisted maze of gotos, this patch cleans it up to have a proper if else for the two major cases of extending and truncating truncate and thus makes it a lot more readable while keeping exactly the same functinality. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed