diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-10-05 18:11:36 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:27:06 -0500 |
commit | c161f89be7d57af863e434e9b15afaa863343a7a (patch) | |
tree | 18152d2fb567746e74a0f57f0d11c53c740db87a /fs/ocfs2/suballoc.c | |
parent | 1fc581467e52546195c7ee8233a34d63c1cc1322 (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/suballoc.c')
-rw-r--r-- | fs/ocfs2/suballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 9d91e66f51a9..32093409e256 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c | |||
@@ -414,7 +414,7 @@ static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, | |||
414 | 414 | ||
415 | mlog_entry_void(); | 415 | mlog_entry_void(); |
416 | 416 | ||
417 | BUG_ON(handle->flags & OCFS2_HANDLE_STARTED); | 417 | BUG_ON(handle->k_handle); |
418 | 418 | ||
419 | ocfs2_handle_add_inode(handle, alloc_inode); | 419 | ocfs2_handle_add_inode(handle, alloc_inode); |
420 | status = ocfs2_meta_lock(alloc_inode, handle, &bh, 1); | 420 | status = ocfs2_meta_lock(alloc_inode, handle, &bh, 1); |