Commit d580ef6e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Tim Shimmin

[XFS] remove confusing INT_ comments in xfs_bmap_btree.c

SGI-PV: 968563
SGI-Modid: xfs-linux-melb:xfs-kern:29317a
Signed-off-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarDavid Chinner <dgc@sgi.com>
Signed-off-by: default avatarTim Shimmin <tes@sgi.com>
parent 3bacbcd8
...@@ -383,7 +383,7 @@ xfs_bmbt_delrec( ...@@ -383,7 +383,7 @@ xfs_bmbt_delrec(
if (ptr < numrecs) { if (ptr < numrecs) {
memmove(&kp[ptr - 1], &kp[ptr], memmove(&kp[ptr - 1], &kp[ptr],
(numrecs - ptr) * sizeof(*kp)); (numrecs - ptr) * sizeof(*kp));
memmove(&pp[ptr - 1], &pp[ptr], /* INT_: direct copy */ memmove(&pp[ptr - 1], &pp[ptr],
(numrecs - ptr) * sizeof(*pp)); (numrecs - ptr) * sizeof(*pp));
xfs_bmbt_log_ptrs(cur, bp, ptr, numrecs - 1); xfs_bmbt_log_ptrs(cur, bp, ptr, numrecs - 1);
xfs_bmbt_log_keys(cur, bp, ptr, numrecs - 1); xfs_bmbt_log_keys(cur, bp, ptr, numrecs - 1);
...@@ -815,7 +815,7 @@ xfs_bmbt_insrec( ...@@ -815,7 +815,7 @@ xfs_bmbt_insrec(
#endif #endif
memmove(&kp[ptr], &kp[ptr - 1], memmove(&kp[ptr], &kp[ptr - 1],
(numrecs - ptr + 1) * sizeof(*kp)); (numrecs - ptr + 1) * sizeof(*kp));
memmove(&pp[ptr], &pp[ptr - 1], /* INT_: direct copy */ memmove(&pp[ptr], &pp[ptr - 1],
(numrecs - ptr + 1) * sizeof(*pp)); (numrecs - ptr + 1) * sizeof(*pp));
#ifdef DEBUG #ifdef DEBUG
if ((error = xfs_btree_check_lptr(cur, *bnop, level))) { if ((error = xfs_btree_check_lptr(cur, *bnop, level))) {
...@@ -1250,7 +1250,7 @@ xfs_bmbt_lshift( ...@@ -1250,7 +1250,7 @@ xfs_bmbt_lshift(
return error; return error;
} }
#endif #endif
*lpp = *rpp; /* INT_: direct copy */ *lpp = *rpp;
xfs_bmbt_log_ptrs(cur, lbp, lrecs, lrecs); xfs_bmbt_log_ptrs(cur, lbp, lrecs, lrecs);
} else { } else {
lrp = XFS_BMAP_REC_IADDR(left, lrecs, cur); lrp = XFS_BMAP_REC_IADDR(left, lrecs, cur);
...@@ -1388,7 +1388,7 @@ xfs_bmbt_rshift( ...@@ -1388,7 +1388,7 @@ xfs_bmbt_rshift(
} }
#endif #endif
*rkp = *lkp; *rkp = *lkp;
*rpp = *lpp; /* INT_: direct copy */ *rpp = *lpp;
xfs_bmbt_log_keys(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); xfs_bmbt_log_keys(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1);
xfs_bmbt_log_ptrs(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1); xfs_bmbt_log_ptrs(cur, rbp, 1, be16_to_cpu(right->bb_numrecs) + 1);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment