]> 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)
commit02b03bde3362bf19f1eaf88bd81b56af4069fbcd
tree0f3a297d5218d628a9263609fe624c33755f79bc
parent1b299e515a8824bbc566d01ff6f57cb2c440da15
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