diff options
author | Christoph Hellwig <hch@lst.de> | 2006-09-27 20:57:17 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-09-27 20:57:17 -0400 |
commit | c38e5e84dbbeda9a92ea878ec9f6255b519a69e7 (patch) | |
tree | 5375b3bb535cf885ac5582a6d854aa7b6c56a1fe /fs/xfs/xfs_alloc_btree.c | |
parent | 61a258486795ff710cf4518b5a1729c965c32aa0 (diff) |
[XFS] remove left over INT_ comments in *alloc*.c We can verify endianess
handling with sparse now, no need for comments.
SGI-PV: 954580
SGI-Modid: xfs-linux-melb:xfs-kern:26557a
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c index 7446556e8021..ec0bbd4140e4 100644 --- a/fs/xfs/xfs_alloc_btree.c +++ b/fs/xfs/xfs_alloc_btree.c | |||
@@ -774,7 +774,7 @@ xfs_alloc_insrec( | |||
774 | * Now stuff the new record in, bump numrecs | 774 | * Now stuff the new record in, bump numrecs |
775 | * and log the new data. | 775 | * and log the new data. |
776 | */ | 776 | */ |
777 | rp[ptr - 1] = *recp; /* INT_: struct copy */ | 777 | rp[ptr - 1] = *recp; |
778 | be16_add(&block->bb_numrecs, 1); | 778 | be16_add(&block->bb_numrecs, 1); |
779 | xfs_alloc_log_recs(cur, bp, ptr, be16_to_cpu(block->bb_numrecs)); | 779 | xfs_alloc_log_recs(cur, bp, ptr, be16_to_cpu(block->bb_numrecs)); |
780 | #ifdef DEBUG | 780 | #ifdef DEBUG |
@@ -819,8 +819,8 @@ xfs_alloc_insrec( | |||
819 | */ | 819 | */ |
820 | *bnop = nbno; | 820 | *bnop = nbno; |
821 | if (nbno != NULLAGBLOCK) { | 821 | if (nbno != NULLAGBLOCK) { |
822 | *recp = nrec; /* INT_: struct copy */ | 822 | *recp = nrec; |
823 | *curp = ncur; /* INT_: struct copy */ | 823 | *curp = ncur; |
824 | } | 824 | } |
825 | *stat = 1; | 825 | *stat = 1; |
826 | return 0; | 826 | return 0; |
@@ -1229,7 +1229,7 @@ xfs_alloc_lshift( | |||
1229 | if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*rpp), level))) | 1229 | if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*rpp), level))) |
1230 | return error; | 1230 | return error; |
1231 | #endif | 1231 | #endif |
1232 | *lpp = *rpp; /* INT_: copy */ | 1232 | *lpp = *rpp; |
1233 | xfs_alloc_log_ptrs(cur, lbp, nrec, nrec); | 1233 | xfs_alloc_log_ptrs(cur, lbp, nrec, nrec); |
1234 | xfs_btree_check_key(cur->bc_btnum, lkp - 1, lkp); | 1234 | xfs_btree_check_key(cur->bc_btnum, lkp - 1, lkp); |
1235 | } | 1235 | } |
@@ -1406,8 +1406,8 @@ xfs_alloc_newroot( | |||
1406 | 1406 | ||
1407 | kp = XFS_ALLOC_KEY_ADDR(new, 1, cur); | 1407 | kp = XFS_ALLOC_KEY_ADDR(new, 1, cur); |
1408 | if (be16_to_cpu(left->bb_level) > 0) { | 1408 | if (be16_to_cpu(left->bb_level) > 0) { |
1409 | kp[0] = *XFS_ALLOC_KEY_ADDR(left, 1, cur); /* INT_: structure copy */ | 1409 | kp[0] = *XFS_ALLOC_KEY_ADDR(left, 1, cur); |
1410 | kp[1] = *XFS_ALLOC_KEY_ADDR(right, 1, cur);/* INT_: structure copy */ | 1410 | kp[1] = *XFS_ALLOC_KEY_ADDR(right, 1, cur); |
1411 | } else { | 1411 | } else { |
1412 | xfs_alloc_rec_t *rp; /* btree record pointer */ | 1412 | xfs_alloc_rec_t *rp; /* btree record pointer */ |
1413 | 1413 | ||
@@ -1527,8 +1527,8 @@ xfs_alloc_rshift( | |||
1527 | if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*lpp), level))) | 1527 | if ((error = xfs_btree_check_sptr(cur, be32_to_cpu(*lpp), level))) |
1528 | return error; | 1528 | return error; |
1529 | #endif | 1529 | #endif |
1530 | *rkp = *lkp; /* INT_: copy */ | 1530 | *rkp = *lkp; |
1531 | *rpp = *lpp; /* INT_: copy */ | 1531 | *rpp = *lpp; |
1532 | xfs_alloc_log_keys(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); | 1532 | xfs_alloc_log_keys(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); |
1533 | xfs_alloc_log_ptrs(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); | 1533 | xfs_alloc_log_ptrs(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); |
1534 | xfs_btree_check_key(cur->bc_btnum, rkp, rkp + 1); | 1534 | xfs_btree_check_key(cur->bc_btnum, rkp, rkp + 1); |