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_log_cil.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_log_cil.c')
-rw-r--r-- | fs/xfs/xfs_log_cil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c index a6e3e71e3f88..601ccf02618a 100644 --- a/fs/xfs/xfs_log_cil.c +++ b/fs/xfs/xfs_log_cil.c | |||
@@ -338,8 +338,8 @@ xlog_cil_committed( | |||
338 | xfs_trans_committed_bulk(ctx->cil->xc_log->l_ailp, ctx->lv_chain, | 338 | xfs_trans_committed_bulk(ctx->cil->xc_log->l_ailp, ctx->lv_chain, |
339 | ctx->start_lsn, abort); | 339 | ctx->start_lsn, abort); |
340 | 340 | ||
341 | xfs_alloc_busy_sort(&ctx->busy_extents); | 341 | xfs_extent_busy_sort(&ctx->busy_extents); |
342 | xfs_alloc_busy_clear(mp, &ctx->busy_extents, | 342 | xfs_extent_busy_clear(mp, &ctx->busy_extents, |
343 | (mp->m_flags & XFS_MOUNT_DISCARD) && !abort); | 343 | (mp->m_flags & XFS_MOUNT_DISCARD) && !abort); |
344 | 344 | ||
345 | spin_lock(&ctx->cil->xc_cil_lock); | 345 | spin_lock(&ctx->cil->xc_cil_lock); |
@@ -352,7 +352,7 @@ xlog_cil_committed( | |||
352 | ASSERT(mp->m_flags & XFS_MOUNT_DISCARD); | 352 | ASSERT(mp->m_flags & XFS_MOUNT_DISCARD); |
353 | 353 | ||
354 | xfs_discard_extents(mp, &ctx->busy_extents); | 354 | xfs_discard_extents(mp, &ctx->busy_extents); |
355 | xfs_alloc_busy_clear(mp, &ctx->busy_extents, false); | 355 | xfs_extent_busy_clear(mp, &ctx->busy_extents, false); |
356 | } | 356 | } |
357 | 357 | ||
358 | kmem_free(ctx); | 358 | kmem_free(ctx); |