From: Dave Chinner Date: Mon, 10 Jan 2011 23:23:42 +0000 (+1100) Subject: xfs: factor common write setup code X-Git-Tag: v2.6.38-rc1~44^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8d15812fd9bc96d0da11467d23e0373feae933;p=pandora-kernel.git xfs: factor common write setup code The buffered IO and direct IO write paths share a common set of checks and limiting code prior to issuing the write. Factor that into a common helper function. Signed-off-by: Dave Chinner Reviewed-by: Alex Elder Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed