From: Dave Chinner Date: Mon, 12 Nov 2012 11:53:56 +0000 (+1100) Subject: xfs: remove xfs_flush_pages X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~55^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc1ea6b8ddd4f2bd78944fbe5a1042ac14b1f5f;p=pandora-kernel.git xfs: remove xfs_flush_pages It is a complex wrapper around VFS functions, but there are VFS functions that provide exactly the same functionality. Call the VFS functions directly and remove the unnecessary indirection and complexity. We don't need to care about clearing the XFS_ITRUNCATED flag, as that is done during .writepages. Hence is cleared by the VFS writeback path if there is anything to write back during the flush. Signed-off-by: Dave Chinner Reviewed-by: Andrew Dahl Signed-off-by: Ben Myers --- Reading git-diff-tree failed