commit | 9b73bd7b61f320ffe7bda0126592ccf836d7ef90 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Fri Jun 22 18:50:15 2012 +1000 |
committer | Ben Myers <bpm@sgi.com> | Sun Jul 01 14:50:08 2012 -0500 |
tree | 2002801ee1d14b9a16487254562a9da2f0d7da71 | |
parent | 1d9025e56143c0c4aebebdb62e46618d3d284218 [diff] |
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 <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>