aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-13 06:34:15 -0500
committerJoel Becker <joel.becker@oracle.com>2009-09-04 19:08:09 -0400
commitcbee7e1a6a1a2a3d6eda1f76ffc38a3ed3eeb6cc (patch)
tree438ac4917675c27ecd3dce694ae3affd7ebf6c91 /fs/ocfs2/file.c
parentcc79d8c19e9d39446525a1026f1a21761f5d3cd2 (diff)
ocfs2: ocfs2_add_clusters_in_btree() no longer needs struct inode.
One more function that doesn't need a struct inode to pass to its children. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 3ddbc5e917e2..891e2c1e625c 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -516,10 +516,9 @@ int ocfs2_add_inode_data(struct ocfs2_super *osb,
516 struct ocfs2_extent_tree et; 516 struct ocfs2_extent_tree et;
517 517
518 ocfs2_init_dinode_extent_tree(&et, inode, fe_bh); 518 ocfs2_init_dinode_extent_tree(&et, inode, fe_bh);
519 ret = ocfs2_add_clusters_in_btree(osb, inode, logical_offset, 519 ret = ocfs2_add_clusters_in_btree(handle, &et, logical_offset,
520 clusters_to_add, mark_unwritten, 520 clusters_to_add, mark_unwritten,
521 &et, handle, 521 data_ac, meta_ac, reason_ret);
522 data_ac, meta_ac, reason_ret);
523 522
524 return ret; 523 return ret;
525} 524}