]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor dir2 block read operations
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:54:11 +0000 (22:54 +1100)
committerBen Myers <bpm@sgi.com>
Fri, 16 Nov 2012 03:34:39 +0000 (21:34 -0600)
commitca7e76fcf686ccc796fe975f0d380a047ec9b97a
tree0f3a297d5218d628a9263609fe624c33755f79bc
parent5a44e54f5dd08da77dad8b6a4d84dd680c727049
xfs: factor dir2 block read operations

In preparation for verifying dir2 block format buffers, factor
the read operations out of the block operations (lookup, addname,
getdents) and some of the additional logic to make it easier to
understand an dmodify the code.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dir2_block.c