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_trans_buf.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_trans_buf.c')
-rw-r--r-- | fs/xfs/xfs_trans_buf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index 422913645709..8cedd1583bc8 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c | |||
@@ -320,7 +320,7 @@ xfs_trans_read_buf( | |||
320 | if (xfs_error_target == target) { | 320 | if (xfs_error_target == target) { |
321 | if (((xfs_req_num++) % xfs_error_mod) == 0) { | 321 | if (((xfs_req_num++) % xfs_error_mod) == 0) { |
322 | xfs_buf_relse(bp); | 322 | xfs_buf_relse(bp); |
323 | printk("Returning error!\n"); | 323 | cmn_err(CE_DEBUG, "Returning error!\n"); |
324 | return XFS_ERROR(EIO); | 324 | return XFS_ERROR(EIO); |
325 | } | 325 | } |
326 | } | 326 | } |
@@ -425,7 +425,7 @@ xfs_trans_read_buf( | |||
425 | xfs_force_shutdown(tp->t_mountp, | 425 | xfs_force_shutdown(tp->t_mountp, |
426 | SHUTDOWN_META_IO_ERROR); | 426 | SHUTDOWN_META_IO_ERROR); |
427 | xfs_buf_relse(bp); | 427 | xfs_buf_relse(bp); |
428 | printk("Returning error in trans!\n"); | 428 | cmn_err(CE_DEBUG, "Returning trans error!\n"); |
429 | return XFS_ERROR(EIO); | 429 | return XFS_ERROR(EIO); |
430 | } | 430 | } |
431 | } | 431 | } |