]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_bmap.c
[XFS] implement generic xfs_btree_increment
[~andy/linux] / fs / xfs / xfs_bmap.c
index a84d0c30b485d1f3bb61a48e2fe28b5bfb050f4f..4b1ec44c80aab0b8ab9ee57384921ab09687b7b1 100644 (file)
@@ -1646,7 +1646,7 @@ xfs_bmap_add_extent_unwritten_real(
                                PREV.br_blockcount - new->br_blockcount,
                                oldext)))
                                goto done;
-                       if ((error = xfs_bmbt_increment(cur, 0, &i)))
+                       if ((error = xfs_btree_increment(cur, 0, &i)))
                                goto done;
                        if ((error = xfs_bmbt_update(cur, new->br_startoff,
                                new->br_startblock,
@@ -3253,7 +3253,7 @@ xfs_bmap_del_extent(
                                                got.br_startblock, temp,
                                                got.br_state)))
                                        goto done;
-                               if ((error = xfs_bmbt_increment(cur, 0, &i)))
+                               if ((error = xfs_btree_increment(cur, 0, &i)))
                                        goto done;
                                cur->bc_rec.b = new;
                                error = xfs_bmbt_insert(cur, &i);