diff options
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index b050663c2a70..413e4138357f 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -929,7 +929,7 @@ __xfs_trans_commit( | |||
929 | * Finish deferred items on final commit. Only permanent transactions | 929 | * Finish deferred items on final commit. Only permanent transactions |
930 | * should ever have deferred ops. | 930 | * should ever have deferred ops. |
931 | */ | 931 | */ |
932 | WARN_ON_ONCE(xfs_defer_has_unfinished_work(tp) && | 932 | WARN_ON_ONCE(!list_empty(&tp->t_dfops->dop_intake) && |
933 | !(tp->t_flags & XFS_TRANS_PERM_LOG_RES)); | 933 | !(tp->t_flags & XFS_TRANS_PERM_LOG_RES)); |
934 | if (!regrant && (tp->t_flags & XFS_TRANS_PERM_LOG_RES)) { | 934 | if (!regrant && (tp->t_flags & XFS_TRANS_PERM_LOG_RES)) { |
935 | error = xfs_defer_finish_noroll(&tp); | 935 | error = xfs_defer_finish_noroll(&tp); |