diff options
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r-- | fs/ocfs2/localalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 4c46c0a81e00..9dd208dc5d7a 100644 --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c | |||
@@ -280,7 +280,7 @@ void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) | |||
280 | mlog_errno(status); | 280 | mlog_errno(status); |
281 | 281 | ||
282 | out_commit: | 282 | out_commit: |
283 | ocfs2_commit_trans(handle); | 283 | ocfs2_commit_trans(osb, handle); |
284 | 284 | ||
285 | out_unlock: | 285 | out_unlock: |
286 | if (main_bm_bh) | 286 | if (main_bm_bh) |
@@ -421,7 +421,7 @@ int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, | |||
421 | if (status < 0) | 421 | if (status < 0) |
422 | mlog_errno(status); | 422 | mlog_errno(status); |
423 | 423 | ||
424 | ocfs2_commit_trans(handle); | 424 | ocfs2_commit_trans(osb, handle); |
425 | 425 | ||
426 | out_unlock: | 426 | out_unlock: |
427 | ocfs2_meta_unlock(main_bm_inode, 1); | 427 | ocfs2_meta_unlock(main_bm_inode, 1); |
@@ -954,7 +954,7 @@ static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, | |||
954 | status = 0; | 954 | status = 0; |
955 | bail: | 955 | bail: |
956 | if (handle) | 956 | if (handle) |
957 | ocfs2_commit_trans(handle); | 957 | ocfs2_commit_trans(osb, handle); |
958 | 958 | ||
959 | if (main_bm_bh) | 959 | if (main_bm_bh) |
960 | brelse(main_bm_bh); | 960 | brelse(main_bm_bh); |