aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-09 01:29:40 -0400
committerNathan Scott <nathans@sgi.com>2006-06-09 01:29:40 -0400
commitb65745205fc00d8c7722ec74e9bd955f3861c7e2 (patch)
tree524f5bacfcdf54828e97b5368eb35de938651ada /fs/xfs/xfs_rtalloc.c
parent9c48876a05b6fbe41f1933fae3529c268d78cad0 (diff)
[XFS] Portability changes: remove prdev, stick to one diagnostic
interface. SGI-PV: 953338 SGI-Modid: xfs-linux-melb:xfs-kern:26103a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index f5944c8b3788..af290cf37ac1 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -2404,10 +2404,10 @@ xfs_rtprint_range(
2404{ 2404{
2405 xfs_extlen_t i; /* block number in the extent */ 2405 xfs_extlen_t i; /* block number in the extent */
2406 2406
2407 printk("%Ld: ", (long long)start); 2407 cmn_err(CE_DEBUG, "%Ld: ", (long long)start);
2408 for (i = 0; i < len; i++) 2408 for (i = 0; i < len; i++)
2409 printk("%d", xfs_rtcheck_bit(mp, tp, start + i, 1)); 2409 cmn_err(CE_DEBUG, "%d", xfs_rtcheck_bit(mp, tp, start + i, 1));
2410 printk("\n"); 2410 cmn_err(CE_DEBUG, "\n");
2411} 2411}
2412 2412
2413/* 2413/*
@@ -2431,17 +2431,17 @@ xfs_rtprint_summary(
2431 (void)xfs_rtget_summary(mp, tp, l, i, &sumbp, &sb, &c); 2431 (void)xfs_rtget_summary(mp, tp, l, i, &sumbp, &sb, &c);
2432 if (c) { 2432 if (c) {
2433 if (!p) { 2433 if (!p) {
2434 printk("%Ld-%Ld:", 1LL << l, 2434 cmn_err(CE_DEBUG, "%Ld-%Ld:", 1LL << l,
2435 XFS_RTMIN((1LL << l) + 2435 XFS_RTMIN((1LL << l) +
2436 ((1LL << l) - 1LL), 2436 ((1LL << l) - 1LL),
2437 mp->m_sb.sb_rextents)); 2437 mp->m_sb.sb_rextents));
2438 p = 1; 2438 p = 1;
2439 } 2439 }
2440 printk(" %Ld:%d", (long long)i, c); 2440 cmn_err(CE_DEBUG, " %Ld:%d", (long long)i, c);
2441 } 2441 }
2442 } 2442 }
2443 if (p) 2443 if (p)
2444 printk("\n"); 2444 cmn_err(CE_DEBUG, "\n");
2445 } 2445 }
2446 if (sumbp) 2446 if (sumbp)
2447 xfs_trans_brelse(tp, sumbp); 2447 xfs_trans_brelse(tp, sumbp);