aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r--fs/ocfs2/alloc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index f3dbd31a85a1..354817acf8b3 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -1158,7 +1158,7 @@ static int __ocfs2_flush_truncate_log(struct ocfs2_super *osb)
1158 goto out_mutex; 1158 goto out_mutex;
1159 } 1159 }
1160 1160
1161 handle = ocfs2_start_trans(osb, NULL, OCFS2_TRUNCATE_LOG_UPDATE); 1161 handle = ocfs2_start_trans(osb, OCFS2_TRUNCATE_LOG_UPDATE);
1162 if (IS_ERR(handle)) { 1162 if (IS_ERR(handle)) {
1163 status = PTR_ERR(handle); 1163 status = PTR_ERR(handle);
1164 mlog_errno(status); 1164 mlog_errno(status);
@@ -1365,8 +1365,7 @@ int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb,
1365 } 1365 }
1366 } 1366 }
1367 1367
1368 handle = ocfs2_start_trans(osb, NULL, 1368 handle = ocfs2_start_trans(osb, OCFS2_TRUNCATE_LOG_UPDATE);
1369 OCFS2_TRUNCATE_LOG_UPDATE);
1370 if (IS_ERR(handle)) { 1369 if (IS_ERR(handle)) {
1371 status = PTR_ERR(handle); 1370 status = PTR_ERR(handle);
1372 mlog_errno(status); 1371 mlog_errno(status);
@@ -1860,7 +1859,7 @@ start:
1860 1859
1861 credits = ocfs2_calc_tree_trunc_credits(osb->sb, clusters_to_del, 1860 credits = ocfs2_calc_tree_trunc_credits(osb->sb, clusters_to_del,
1862 fe, el); 1861 fe, el);
1863 handle = ocfs2_start_trans(osb, NULL, credits); 1862 handle = ocfs2_start_trans(osb, credits);
1864 if (IS_ERR(handle)) { 1863 if (IS_ERR(handle)) {
1865 status = PTR_ERR(handle); 1864 status = PTR_ERR(handle);
1866 handle = NULL; 1865 handle = NULL;