diff options
Diffstat (limited to 'fs/xfs/xfs_log_cil.c')
-rw-r--r-- | fs/xfs/xfs_log_cil.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c index c7eac5acbfea..9ca59be08977 100644 --- a/fs/xfs/xfs_log_cil.c +++ b/fs/xfs/xfs_log_cil.c | |||
@@ -625,7 +625,7 @@ out_abort: | |||
625 | * background commit, returns without it held once background commits are | 625 | * background commit, returns without it held once background commits are |
626 | * allowed again. | 626 | * allowed again. |
627 | */ | 627 | */ |
628 | int | 628 | void |
629 | xfs_log_commit_cil( | 629 | xfs_log_commit_cil( |
630 | struct xfs_mount *mp, | 630 | struct xfs_mount *mp, |
631 | struct xfs_trans *tp, | 631 | struct xfs_trans *tp, |
@@ -640,11 +640,6 @@ xfs_log_commit_cil( | |||
640 | if (flags & XFS_TRANS_RELEASE_LOG_RES) | 640 | if (flags & XFS_TRANS_RELEASE_LOG_RES) |
641 | log_flags = XFS_LOG_REL_PERM_RESERV; | 641 | log_flags = XFS_LOG_REL_PERM_RESERV; |
642 | 642 | ||
643 | if (XLOG_FORCED_SHUTDOWN(log)) { | ||
644 | xlog_cil_free_logvec(log_vector); | ||
645 | return XFS_ERROR(EIO); | ||
646 | } | ||
647 | |||
648 | /* | 643 | /* |
649 | * do all the hard work of formatting items (including memory | 644 | * do all the hard work of formatting items (including memory |
650 | * allocation) outside the CIL context lock. This prevents stalling CIL | 645 | * allocation) outside the CIL context lock. This prevents stalling CIL |
@@ -704,7 +699,6 @@ xfs_log_commit_cil( | |||
704 | */ | 699 | */ |
705 | if (push) | 700 | if (push) |
706 | xlog_cil_push(log, 0); | 701 | xlog_cil_push(log, 0); |
707 | return 0; | ||
708 | } | 702 | } |
709 | 703 | ||
710 | /* | 704 | /* |