OSDN Git Service

xfs: split xfs_da3_node_read
[tomoyo/tomoyo-test1.git] / fs / xfs / xfs_attr_list.c
index fe91436..d37743b 100644 (file)
@@ -223,7 +223,7 @@ xfs_attr_node_list_lookup(
        ASSERT(*pbp == NULL);
        cursor->blkno = 0;
        for (;;) {
-               error = xfs_da3_node_read(tp, dp, cursor->blkno, -1, &bp,
+               error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp,
                                XFS_ATTR_FORK);
                if (error)
                        return error;
@@ -309,8 +309,8 @@ xfs_attr_node_list(
         */
        bp = NULL;
        if (cursor->blkno > 0) {
-               error = xfs_da3_node_read(context->tp, dp, cursor->blkno, -1,
-                                             &bp, XFS_ATTR_FORK);
+               error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp,
+                               XFS_ATTR_FORK);
                if ((error != 0) && (error != -EFSCORRUPTED))
                        return error;
                if (bp) {