diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-09 01:29:40 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 01:29:40 -0400 |
commit | b65745205fc00d8c7722ec74e9bd955f3861c7e2 (patch) | |
tree | 524f5bacfcdf54828e97b5368eb35de938651ada /fs/xfs/xfs_inode.c | |
parent | 9c48876a05b6fbe41f1933fae3529c268d78cad0 (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_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index b30bffa99edc..50119a00885b 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -352,8 +352,9 @@ xfs_itobp( | |||
352 | if (unlikely(XFS_TEST_ERROR(!di_ok, mp, XFS_ERRTAG_ITOBP_INOTOBP, | 352 | if (unlikely(XFS_TEST_ERROR(!di_ok, mp, XFS_ERRTAG_ITOBP_INOTOBP, |
353 | XFS_RANDOM_ITOBP_INOTOBP))) { | 353 | XFS_RANDOM_ITOBP_INOTOBP))) { |
354 | #ifdef DEBUG | 354 | #ifdef DEBUG |
355 | prdev("bad inode magic/vsn daddr %lld #%d (magic=%x)", | 355 | cmn_err(CE_ALERT, "Device %s - bad inode magic/vsn " |
356 | mp->m_ddev_targp, | 356 | "daddr %lld #%d (magic=%x)", |
357 | XFS_BUFTARG_NAME(mp->m_ddev_targp), | ||
357 | (unsigned long long)imap.im_blkno, i, | 358 | (unsigned long long)imap.im_blkno, i, |
358 | INT_GET(dip->di_core.di_magic, ARCH_CONVERT)); | 359 | INT_GET(dip->di_core.di_magic, ARCH_CONVERT)); |
359 | #endif | 360 | #endif |