diff options
Diffstat (limited to 'fs/xfs/xfs_trans_buf.c')
-rw-r--r-- | fs/xfs/xfs_trans_buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index c74c31ebc81c..422913645709 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c | |||
@@ -369,7 +369,7 @@ xfs_trans_read_buf( | |||
369 | */ | 369 | */ |
370 | if (tp->t_flags & XFS_TRANS_DIRTY) | 370 | if (tp->t_flags & XFS_TRANS_DIRTY) |
371 | xfs_force_shutdown(tp->t_mountp, | 371 | xfs_force_shutdown(tp->t_mountp, |
372 | XFS_METADATA_IO_ERROR); | 372 | SHUTDOWN_META_IO_ERROR); |
373 | return error; | 373 | return error; |
374 | } | 374 | } |
375 | } | 375 | } |
@@ -414,7 +414,7 @@ xfs_trans_read_buf( | |||
414 | xfs_ioerror_alert("xfs_trans_read_buf", mp, | 414 | xfs_ioerror_alert("xfs_trans_read_buf", mp, |
415 | bp, blkno); | 415 | bp, blkno); |
416 | if (tp->t_flags & XFS_TRANS_DIRTY) | 416 | if (tp->t_flags & XFS_TRANS_DIRTY) |
417 | xfs_force_shutdown(tp->t_mountp, XFS_METADATA_IO_ERROR); | 417 | xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); |
418 | xfs_buf_relse(bp); | 418 | xfs_buf_relse(bp); |
419 | return error; | 419 | return error; |
420 | } | 420 | } |
@@ -423,7 +423,7 @@ xfs_trans_read_buf( | |||
423 | if (xfs_error_target == target) { | 423 | if (xfs_error_target == target) { |
424 | if (((xfs_req_num++) % xfs_error_mod) == 0) { | 424 | if (((xfs_req_num++) % xfs_error_mod) == 0) { |
425 | xfs_force_shutdown(tp->t_mountp, | 425 | xfs_force_shutdown(tp->t_mountp, |
426 | XFS_METADATA_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 | printk("Returning error in trans!\n"); |
429 | return XFS_ERROR(EIO); | 429 | return XFS_ERROR(EIO); |