From: Christoph Hellwig Date: Tue, 20 Jul 2010 07:51:31 +0000 (+1000) Subject: xfs: simplify xfs_truncate_file X-Git-Tag: v2.6.36-rc1~589^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d18898b20dfed5f373f8a9a7cbe01446036f8e9;p=pandora-kernel.git xfs: simplify xfs_truncate_file xfs_truncate_file is only used for truncating quota files. Move it to xfs_qm_syscalls.c so it can be marked static and take advatange of the fact by removing the unused page cache validation and taking the iget into the helper. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed