aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_leaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.c')
-rw-r--r--fs/xfs/xfs_attr_leaf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_attr_leaf.c b/fs/xfs/xfs_attr_leaf.c
index 357971536d50..efe170da2881 100644
--- a/fs/xfs/xfs_attr_leaf.c
+++ b/fs/xfs/xfs_attr_leaf.c
@@ -88,7 +88,7 @@ STATIC void xfs_attr_leaf_moveents(xfs_attr_leafblock_t *src_leaf,
88 xfs_mount_t *mp); 88 xfs_mount_t *mp);
89STATIC int xfs_attr_leaf_entsize(xfs_attr_leafblock_t *leaf, int index); 89STATIC int xfs_attr_leaf_entsize(xfs_attr_leafblock_t *leaf, int index);
90 90
91static void 91void
92xfs_attr_leaf_verify( 92xfs_attr_leaf_verify(
93 struct xfs_buf *bp) 93 struct xfs_buf *bp)
94{ 94{
@@ -2765,7 +2765,7 @@ xfs_attr_root_inactive(xfs_trans_t **trans, xfs_inode_t *dp)
2765 * the extents in reverse order the extent containing 2765 * the extents in reverse order the extent containing
2766 * block 0 must still be there. 2766 * block 0 must still be there.
2767 */ 2767 */
2768 error = xfs_da_read_buf(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK, NULL); 2768 error = xfs_da_node_read(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK);
2769 if (error) 2769 if (error)
2770 return(error); 2770 return(error);
2771 blkno = XFS_BUF_ADDR(bp); 2771 blkno = XFS_BUF_ADDR(bp);
@@ -2850,8 +2850,8 @@ xfs_attr_node_inactive(
2850 * traversal of the tree so we may deal with many blocks 2850 * traversal of the tree so we may deal with many blocks
2851 * before we come back to this one. 2851 * before we come back to this one.
2852 */ 2852 */
2853 error = xfs_da_read_buf(*trans, dp, child_fsb, -2, &child_bp, 2853 error = xfs_da_node_read(*trans, dp, child_fsb, -2, &child_bp,
2854 XFS_ATTR_FORK, NULL); 2854 XFS_ATTR_FORK);
2855 if (error) 2855 if (error)
2856 return(error); 2856 return(error);
2857 if (child_bp) { 2857 if (child_bp) {
@@ -2891,8 +2891,8 @@ xfs_attr_node_inactive(
2891 * child block number. 2891 * child block number.
2892 */ 2892 */
2893 if ((i+1) < count) { 2893 if ((i+1) < count) {
2894 error = xfs_da_read_buf(*trans, dp, 0, parent_blkno, 2894 error = xfs_da_node_read(*trans, dp, 0, parent_blkno,
2895 &bp, XFS_ATTR_FORK, NULL); 2895 &bp, XFS_ATTR_FORK);
2896 if (error) 2896 if (error)
2897 return(error); 2897 return(error);
2898 child_fsb = be32_to_cpu(node->btree[i+1].before); 2898 child_fsb = be32_to_cpu(node->btree[i+1].before);