diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-10-09 21:11:45 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:28:28 -0500 |
commit | 1fabe1481fac9e01bf8bffa60a2307ef379aa5de (patch) | |
tree | 17092c1be837ed95c8f26646003e9e49cfdb9663 /fs/ocfs2/inode.c | |
parent | 65eff9ccf86d63eb5c3e9071450a36e4e4fa9564 (diff) |
ocfs2: Remove struct ocfs2_journal_handle in favor of handle_t
This is mostly a search and replace as ocfs2_journal_handle is now no more
than a container for a handle_t pointer.
ocfs2_commit_trans() becomes very straight forward, and we remove some out
of date comments / code.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index ac78877ba14d..ad4d4a1df77b 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -512,7 +512,7 @@ static int ocfs2_truncate_for_delete(struct ocfs2_super *osb, | |||
512 | struct buffer_head *fe_bh) | 512 | struct buffer_head *fe_bh) |
513 | { | 513 | { |
514 | int status = 0; | 514 | int status = 0; |
515 | struct ocfs2_journal_handle *handle = NULL; | 515 | handle_t *handle = NULL; |
516 | struct ocfs2_truncate_context *tc = NULL; | 516 | struct ocfs2_truncate_context *tc = NULL; |
517 | struct ocfs2_dinode *fe; | 517 | struct ocfs2_dinode *fe; |
518 | 518 | ||
@@ -568,7 +568,7 @@ static int ocfs2_remove_inode(struct inode *inode, | |||
568 | int status; | 568 | int status; |
569 | struct inode *inode_alloc_inode = NULL; | 569 | struct inode *inode_alloc_inode = NULL; |
570 | struct buffer_head *inode_alloc_bh = NULL; | 570 | struct buffer_head *inode_alloc_bh = NULL; |
571 | struct ocfs2_journal_handle *handle; | 571 | handle_t *handle; |
572 | struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); | 572 | struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); |
573 | struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; | 573 | struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; |
574 | 574 | ||
@@ -1198,7 +1198,7 @@ bail: | |||
1198 | * struct inode. | 1198 | * struct inode. |
1199 | * Only takes ip_lock. | 1199 | * Only takes ip_lock. |
1200 | */ | 1200 | */ |
1201 | int ocfs2_mark_inode_dirty(struct ocfs2_journal_handle *handle, | 1201 | int ocfs2_mark_inode_dirty(handle_t *handle, |
1202 | struct inode *inode, | 1202 | struct inode *inode, |
1203 | struct buffer_head *bh) | 1203 | struct buffer_head *bh) |
1204 | { | 1204 | { |