xfs: factor and verify attr leaf reads
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:54:16 +0000 (22:54 +1100)
committerBen Myers <bpm@sgi.com>
Fri, 16 Nov 2012 03:34:52 +0000 (21:34 -0600)
commitad14c33ac862601c4c22755ed3b59f1906b134e5
tree80d2fe31b0db8c0f763080ca69902cf903764da9
parente6f7667c4eef42b6f5bc6cdeb31d0bab62fe5f79
xfs: factor and verify attr leaf reads

Some reads are not converted yet because it isn't obvious ahead of
time what the format of the block is going to be. Need to determine
how to tell if the first block in the tree is a node or leaf format
block. That will be done in later patches.

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_attr.c
fs/xfs/xfs_attr_leaf.c
fs/xfs/xfs_attr_leaf.h