diff options
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
-rw-r--r-- | fs/xfs/xfs_dquot.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index 9dc5d3954cf7..3ee242686181 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c | |||
@@ -426,7 +426,7 @@ xfs_qm_dqrepair( | |||
426 | 426 | ||
427 | if (error) { | 427 | if (error) { |
428 | ASSERT(*bpp == NULL); | 428 | ASSERT(*bpp == NULL); |
429 | return XFS_ERROR(error); | 429 | return error; |
430 | } | 430 | } |
431 | (*bpp)->b_ops = &xfs_dquot_buf_ops; | 431 | (*bpp)->b_ops = &xfs_dquot_buf_ops; |
432 | 432 | ||
@@ -442,7 +442,7 @@ xfs_qm_dqrepair( | |||
442 | if (error) { | 442 | if (error) { |
443 | /* repair failed, we're screwed */ | 443 | /* repair failed, we're screwed */ |
444 | xfs_trans_brelse(tp, *bpp); | 444 | xfs_trans_brelse(tp, *bpp); |
445 | return XFS_ERROR(EIO); | 445 | return EIO; |
446 | } | 446 | } |
447 | } | 447 | } |
448 | 448 | ||
@@ -539,7 +539,7 @@ xfs_qm_dqtobp( | |||
539 | 539 | ||
540 | if (error) { | 540 | if (error) { |
541 | ASSERT(bp == NULL); | 541 | ASSERT(bp == NULL); |
542 | return XFS_ERROR(error); | 542 | return error; |
543 | } | 543 | } |
544 | } | 544 | } |
545 | 545 | ||
@@ -796,7 +796,7 @@ restart: | |||
796 | } else { | 796 | } else { |
797 | /* inode stays locked on return */ | 797 | /* inode stays locked on return */ |
798 | xfs_qm_dqdestroy(dqp); | 798 | xfs_qm_dqdestroy(dqp); |
799 | return XFS_ERROR(ESRCH); | 799 | return ESRCH; |
800 | } | 800 | } |
801 | } | 801 | } |
802 | 802 | ||
@@ -966,7 +966,7 @@ xfs_qm_dqflush( | |||
966 | SHUTDOWN_CORRUPT_INCORE); | 966 | SHUTDOWN_CORRUPT_INCORE); |
967 | else | 967 | else |
968 | spin_unlock(&mp->m_ail->xa_lock); | 968 | spin_unlock(&mp->m_ail->xa_lock); |
969 | error = XFS_ERROR(EIO); | 969 | error = EIO; |
970 | goto out_unlock; | 970 | goto out_unlock; |
971 | } | 971 | } |
972 | 972 | ||
@@ -992,7 +992,7 @@ xfs_qm_dqflush( | |||
992 | xfs_buf_relse(bp); | 992 | xfs_buf_relse(bp); |
993 | xfs_dqfunlock(dqp); | 993 | xfs_dqfunlock(dqp); |
994 | xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE); | 994 | xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE); |
995 | return XFS_ERROR(EIO); | 995 | return EIO; |
996 | } | 996 | } |
997 | 997 | ||
998 | /* This is the only portion of data that needs to persist */ | 998 | /* This is the only portion of data that needs to persist */ |
@@ -1045,7 +1045,7 @@ xfs_qm_dqflush( | |||
1045 | 1045 | ||
1046 | out_unlock: | 1046 | out_unlock: |
1047 | xfs_dqfunlock(dqp); | 1047 | xfs_dqfunlock(dqp); |
1048 | return XFS_ERROR(EIO); | 1048 | return EIO; |
1049 | } | 1049 | } |
1050 | 1050 | ||
1051 | /* | 1051 | /* |