From: Dave Chinner Date: Fri, 22 Jun 2012 08:50:15 +0000 (+1000) Subject: xfs: factor buffer reading from xfs_dir2_leaf_getdents X-Git-Tag: v3.6-rc1~42^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b73bd7b61f320ffe7bda0126592ccf836d7ef90;p=pandora-kernel.git xfs: factor buffer reading from xfs_dir2_leaf_getdents The buffer reading code in xfs_dir2_leaf_getdents is complex and difficult to follow due to the readahead and all the context is carries. it is also badly indented and so difficult to read. Factor it out into a separate function to make it easier to understand and optimise in future patches. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Ben Myers --- Reading git-diff-tree failed