diff options
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 4f4c93941067..a5f02f0e4c2a 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -416,8 +416,7 @@ xfs_bulkstat( | |||
416 | /* | 416 | /* |
417 | * Allocate and initialize a btree cursor for ialloc btree. | 417 | * Allocate and initialize a btree cursor for ialloc btree. |
418 | */ | 418 | */ |
419 | cur = xfs_btree_init_cursor(mp, NULL, agbp, agno, XFS_BTNUM_INO, | 419 | cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno); |
420 | (xfs_inode_t *)0, 0); | ||
421 | irbp = irbuf; | 420 | irbp = irbuf; |
422 | irbufend = irbuf + nirbuf; | 421 | irbufend = irbuf + nirbuf; |
423 | end_of_ag = 0; | 422 | end_of_ag = 0; |
@@ -842,8 +841,7 @@ xfs_inumbers( | |||
842 | agino = 0; | 841 | agino = 0; |
843 | continue; | 842 | continue; |
844 | } | 843 | } |
845 | cur = xfs_btree_init_cursor(mp, NULL, agbp, agno, | 844 | cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno); |
846 | XFS_BTNUM_INO, (xfs_inode_t *)0, 0); | ||
847 | error = xfs_inobt_lookup_ge(cur, agino, 0, 0, &tmp); | 845 | error = xfs_inobt_lookup_ge(cur, agino, 0, 0, &tmp); |
848 | if (error) { | 846 | if (error) { |
849 | xfs_btree_del_cursor(cur, XFS_BTREE_ERROR); | 847 | xfs_btree_del_cursor(cur, XFS_BTREE_ERROR); |