aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/localalloc.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-05 18:11:36 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:27:06 -0500
commitc161f89be7d57af863e434e9b15afaa863343a7a (patch)
tree18152d2fb567746e74a0f57f0d11c53c740db87a /fs/ocfs2/localalloc.c
parent1fc581467e52546195c7ee8233a34d63c1cc1322 (diff)
ocfs2: remove ocfs2_journal_handle flags field
Callers can set h_sync directly on the handle_t, whether a transaction has been started or not can be determined via the existence of the handle_t on the struct ocfs2_journal_handle. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r--fs/ocfs2/localalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c
index 1f17a4d08287..f2f384dd5ba8 100644
--- a/fs/ocfs2/localalloc.c
+++ b/fs/ocfs2/localalloc.c
@@ -423,7 +423,7 @@ int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
423 } 423 }
424 424
425 /* we want the bitmap change to be recorded on disk asap */ 425 /* we want the bitmap change to be recorded on disk asap */
426 ocfs2_handle_set_sync(handle, 1); 426 handle->k_handle->h_sync = 1;
427 427
428 status = ocfs2_sync_local_to_main(osb, handle, alloc, 428 status = ocfs2_sync_local_to_main(osb, handle, alloc,
429 main_bm_inode, main_bm_bh); 429 main_bm_inode, main_bm_bh);
@@ -465,7 +465,7 @@ int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
465 465
466 BUG_ON(!passed_handle); 466 BUG_ON(!passed_handle);
467 BUG_ON(!ac); 467 BUG_ON(!ac);
468 BUG_ON(passed_handle->flags & OCFS2_HANDLE_STARTED); 468 BUG_ON(passed_handle->k_handle);
469 469
470 local_alloc_inode = 470 local_alloc_inode =
471 ocfs2_get_system_file_inode(osb, 471 ocfs2_get_system_file_inode(osb,