diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-04-29 06:41:10 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-05-14 17:20:56 -0400 |
commit | 4ecbfe637cbcc0f093d1f295ef483f4e31e3987b (patch) | |
tree | 38faf345e1e43b85105dbfc7f6b3b4e7409f0cfb /fs/xfs/xfs_alloc_btree.c | |
parent | efc27b52594e322d4c94e379489fa3690bf74739 (diff) |
xfs: clean up busy extent naming
Now that the busy extent tracking has been moved out of the
allocation files, clean up the namespace it uses to
"xfs_extent_busy" rather than a mix of "xfs_busy" and
"xfs_alloc_busy".
Signed-off-by: Dave Chinner<dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c index 3f665487521a..68ebabc388c6 100644 --- a/fs/xfs/xfs_alloc_btree.c +++ b/fs/xfs/xfs_alloc_btree.c | |||
@@ -94,7 +94,7 @@ xfs_allocbt_alloc_block( | |||
94 | return 0; | 94 | return 0; |
95 | } | 95 | } |
96 | 96 | ||
97 | xfs_alloc_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); | 97 | xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); |
98 | 98 | ||
99 | xfs_trans_agbtree_delta(cur->bc_tp, 1); | 99 | xfs_trans_agbtree_delta(cur->bc_tp, 1); |
100 | new->s = cpu_to_be32(bno); | 100 | new->s = cpu_to_be32(bno); |
@@ -119,8 +119,8 @@ xfs_allocbt_free_block( | |||
119 | if (error) | 119 | if (error) |
120 | return error; | 120 | return error; |
121 | 121 | ||
122 | xfs_alloc_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, | 122 | xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, |
123 | XFS_ALLOC_BUSY_SKIP_DISCARD); | 123 | XFS_EXTENT_BUSY_SKIP_DISCARD); |
124 | xfs_trans_agbtree_delta(cur->bc_tp, -1); | 124 | xfs_trans_agbtree_delta(cur->bc_tp, -1); |
125 | return 0; | 125 | return 0; |
126 | } | 126 | } |