aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/refcounttree.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2010-05-06 01:59:06 -0400
committerTao Ma <tao.ma@oracle.com>2010-05-06 01:59:06 -0400
commit1ed9b777f77929ae961d6f9cdf828a07200ba71c (patch)
treea0bb6c9e9be1f5d3d46d6cdac0a4397303e22795 /fs/ocfs2/refcounttree.c
parent13e434cf0cacd2f03a7f4cd077e3e995ef5ef710 (diff)
ocfs2: ocfs2_claim_*() don't need an ocfs2_super argument.
They all take an ocfs2_alloc_context, which has the allocation inode. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.c')
-rw-r--r--fs/ocfs2/refcounttree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c
index 33dd2a18cb74..2bd74766c4e0 100644
--- a/fs/ocfs2/refcounttree.c
+++ b/fs/ocfs2/refcounttree.c
@@ -597,7 +597,7 @@ static int ocfs2_create_refcount_tree(struct inode *inode,
597 goto out_commit; 597 goto out_commit;
598 } 598 }
599 599
600 ret = ocfs2_claim_metadata(osb, handle, meta_ac, 1, 600 ret = ocfs2_claim_metadata(handle, meta_ac, 1,
601 &suballoc_bit_start, &num_got, 601 &suballoc_bit_start, &num_got,
602 &first_blkno); 602 &first_blkno);
603 if (ret) { 603 if (ret) {
@@ -1297,7 +1297,7 @@ static int ocfs2_expand_inline_ref_root(handle_t *handle,
1297 goto out; 1297 goto out;
1298 } 1298 }
1299 1299
1300 ret = ocfs2_claim_metadata(OCFS2_SB(sb), handle, meta_ac, 1, 1300 ret = ocfs2_claim_metadata(handle, meta_ac, 1,
1301 &suballoc_bit_start, &num_got, 1301 &suballoc_bit_start, &num_got,
1302 &blkno); 1302 &blkno);
1303 if (ret) { 1303 if (ret) {
@@ -1547,7 +1547,7 @@ static int ocfs2_new_leaf_refcount_block(handle_t *handle,
1547 goto out; 1547 goto out;
1548 } 1548 }
1549 1549
1550 ret = ocfs2_claim_metadata(OCFS2_SB(sb), handle, meta_ac, 1, 1550 ret = ocfs2_claim_metadata(handle, meta_ac, 1,
1551 &suballoc_bit_start, &num_got, 1551 &suballoc_bit_start, &num_got,
1552 &blkno); 1552 &blkno);
1553 if (ret) { 1553 if (ret) {
@@ -3271,7 +3271,7 @@ static int ocfs2_make_clusters_writable(struct super_block *sb,
3271 } else { 3271 } else {
3272 delete = 1; 3272 delete = 1;
3273 3273
3274 ret = __ocfs2_claim_clusters(osb, handle, 3274 ret = __ocfs2_claim_clusters(handle,
3275 context->data_ac, 3275 context->data_ac,
3276 1, set_len, 3276 1, set_len,
3277 &new_bit, &new_len); 3277 &new_bit, &new_len);