aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_leaf.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-11-12 06:54:16 -0500
committerBen Myers <bpm@sgi.com>2012-11-15 22:34:52 -0500
commitad14c33ac862601c4c22755ed3b59f1906b134e5 (patch)
tree80d2fe31b0db8c0f763080ca69902cf903764da9 /fs/xfs/xfs_attr_leaf.h
parente6f7667c4eef42b6f5bc6cdeb31d0bab62fe5f79 (diff)
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>
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.h')
-rw-r--r--fs/xfs/xfs_attr_leaf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_attr_leaf.h b/fs/xfs/xfs_attr_leaf.h
index dea17722945e..8f7ab986f45d 100644
--- a/fs/xfs/xfs_attr_leaf.h
+++ b/fs/xfs/xfs_attr_leaf.h
@@ -227,6 +227,9 @@ int xfs_attr_leaf_to_shortform(struct xfs_buf *bp,
227int xfs_attr_leaf_clearflag(struct xfs_da_args *args); 227int xfs_attr_leaf_clearflag(struct xfs_da_args *args);
228int xfs_attr_leaf_setflag(struct xfs_da_args *args); 228int xfs_attr_leaf_setflag(struct xfs_da_args *args);
229int xfs_attr_leaf_flipflags(xfs_da_args_t *args); 229int xfs_attr_leaf_flipflags(xfs_da_args_t *args);
230int xfs_attr_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
231 xfs_dablk_t bno, xfs_daddr_t mappedbno,
232 struct xfs_buf **bpp);
230 233
231/* 234/*
232 * Routines used for growing the Btree. 235 * Routines used for growing the Btree.