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/dir.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/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 036c891c1e17..5efea44d780d 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c | |||
@@ -340,7 +340,7 @@ int ocfs2_empty_dir(struct inode *inode) | |||
340 | 340 | ||
341 | /* returns a bh of the 1st new block in the allocation. */ | 341 | /* returns a bh of the 1st new block in the allocation. */ |
342 | int ocfs2_do_extend_dir(struct super_block *sb, | 342 | int ocfs2_do_extend_dir(struct super_block *sb, |
343 | struct ocfs2_journal_handle *handle, | 343 | handle_t *handle, |
344 | struct inode *dir, | 344 | struct inode *dir, |
345 | struct buffer_head *parent_fe_bh, | 345 | struct buffer_head *parent_fe_bh, |
346 | struct ocfs2_alloc_context *data_ac, | 346 | struct ocfs2_alloc_context *data_ac, |
@@ -398,7 +398,7 @@ static int ocfs2_extend_dir(struct ocfs2_super *osb, | |||
398 | struct ocfs2_dinode *fe = (struct ocfs2_dinode *) parent_fe_bh->b_data; | 398 | struct ocfs2_dinode *fe = (struct ocfs2_dinode *) parent_fe_bh->b_data; |
399 | struct ocfs2_alloc_context *data_ac = NULL; | 399 | struct ocfs2_alloc_context *data_ac = NULL; |
400 | struct ocfs2_alloc_context *meta_ac = NULL; | 400 | struct ocfs2_alloc_context *meta_ac = NULL; |
401 | struct ocfs2_journal_handle *handle = NULL; | 401 | handle_t *handle = NULL; |
402 | struct buffer_head *new_bh = NULL; | 402 | struct buffer_head *new_bh = NULL; |
403 | struct ocfs2_dir_entry * de; | 403 | struct ocfs2_dir_entry * de; |
404 | struct super_block *sb = osb->sb; | 404 | struct super_block *sb = osb->sb; |