diff options
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index b0130b21f4de..b050663c2a70 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -933,10 +933,8 @@ __xfs_trans_commit( | |||
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); |
936 | if (error) { | 936 | if (error) |
937 | xfs_defer_cancel(tp); | ||
938 | goto out_unreserve; | 937 | goto out_unreserve; |
939 | } | ||
940 | } | 938 | } |
941 | 939 | ||
942 | /* | 940 | /* |