]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit20f7e9f3726a27cccade65c28265eef8ca50eecb
tree0f3a297d5218d628a9263609fe624c33755f79bc
parent4bb20a83a2a5ac4dcb62780c9950e47939956126
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