diff options
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 3ec13e8a8c54..b68f9107e26c 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -444,7 +444,8 @@ xfs_bulkstat( | |||
444 | /* | 444 | /* |
445 | * Lookup the inode chunk that this inode lives in. | 445 | * Lookup the inode chunk that this inode lives in. |
446 | */ | 446 | */ |
447 | error = xfs_inobt_lookup_le(cur, agino, 0, 0, &tmp); | 447 | error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, |
448 | &tmp); | ||
448 | if (!error && /* no I/O error */ | 449 | if (!error && /* no I/O error */ |
449 | tmp && /* lookup succeeded */ | 450 | tmp && /* lookup succeeded */ |
450 | /* got the record, should always work */ | 451 | /* got the record, should always work */ |
@@ -492,7 +493,7 @@ xfs_bulkstat( | |||
492 | /* | 493 | /* |
493 | * Start of ag. Lookup the first inode chunk. | 494 | * Start of ag. Lookup the first inode chunk. |
494 | */ | 495 | */ |
495 | error = xfs_inobt_lookup_ge(cur, 0, 0, 0, &tmp); | 496 | error = xfs_inobt_lookup(cur, 0, XFS_LOOKUP_GE, &tmp); |
496 | icount = 0; | 497 | icount = 0; |
497 | } | 498 | } |
498 | /* | 499 | /* |
@@ -511,8 +512,8 @@ xfs_bulkstat( | |||
511 | if (XFS_AGINO_TO_AGBNO(mp, agino) >= | 512 | if (XFS_AGINO_TO_AGBNO(mp, agino) >= |
512 | be32_to_cpu(agi->agi_length)) | 513 | be32_to_cpu(agi->agi_length)) |
513 | break; | 514 | break; |
514 | error = xfs_inobt_lookup_ge(cur, agino, 0, 0, | 515 | error = xfs_inobt_lookup(cur, agino, |
515 | &tmp); | 516 | XFS_LOOKUP_GE, &tmp); |
516 | cond_resched(); | 517 | cond_resched(); |
517 | } | 518 | } |
518 | /* | 519 | /* |
@@ -858,7 +859,8 @@ xfs_inumbers( | |||
858 | continue; | 859 | continue; |
859 | } | 860 | } |
860 | cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno); | 861 | cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno); |
861 | error = xfs_inobt_lookup_ge(cur, agino, 0, 0, &tmp); | 862 | error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_GE, |
863 | &tmp); | ||
862 | if (error) { | 864 | if (error) { |
863 | xfs_btree_del_cursor(cur, XFS_BTREE_ERROR); | 865 | xfs_btree_del_cursor(cur, XFS_BTREE_ERROR); |
864 | cur = NULL; | 866 | cur = NULL; |