From: Jan Kara Date: Wed, 25 May 2011 21:39:48 +0000 (-0400) Subject: ext4: Convert ext4 to new truncate calling convention X-Git-Tag: v3.0-rc1~140^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae24f28d39610a4810c78185cf599a771cf6ee1f;p=pandora-kernel.git ext4: Convert ext4 to new truncate calling convention Trivial conversion. Fixup one error handling case calling vmtruncate() and remove ->truncate callback. We also fix a bug that IS_IMMUTABLE and IS_APPEND files could not be truncated during failed writes. In fact, the test can be completely removed as upper layers do necessary permission checks for truncate in do_sys_[f]truncate() and may_open() anyway. Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed