xfs: factor dir2 free block reading
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:54:13 +0000 (22:54 +1100)
committerBen Myers <bpm@sgi.com>
Fri, 16 Nov 2012 03:34:43 +0000 (21:34 -0600)
commit2025207ca6738a1217126ef14af9d104433f9824
tree522cac64d22f59063e16e7e2aec5a1688fa77a6b
parent82025d7f79148fe66a1594a0ebe4ab38152cf9e6
xfs: factor dir2 free block reading

Also factor out the updating of the free block when removing entries
from leaf blocks, and add a verifier callback for reads.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dir2_leaf.c
fs/xfs/xfs_dir2_node.c
fs/xfs/xfs_dir2_priv.h