aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_discard.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-04-29 06:41:10 -0400
committerBen Myers <bpm@sgi.com>2012-05-14 17:20:56 -0400
commit4ecbfe637cbcc0f093d1f295ef483f4e31e3987b (patch)
tree38faf345e1e43b85105dbfc7f6b3b4e7409f0cfb /fs/xfs/xfs_discard.c
parentefc27b52594e322d4c94e379489fa3690bf74739 (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_discard.c')
-rw-r--r--fs/xfs/xfs_discard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_discard.c b/fs/xfs/xfs_discard.c
index e3f1abe774f6..f9c3fe304a17 100644
--- a/fs/xfs/xfs_discard.c
+++ b/fs/xfs/xfs_discard.c
@@ -118,7 +118,7 @@ xfs_trim_extents(
118 * If any blocks in the range are still busy, skip the 118 * If any blocks in the range are still busy, skip the
119 * discard and try again the next time. 119 * discard and try again the next time.
120 */ 120 */
121 if (xfs_alloc_busy_search(mp, agno, fbno, flen)) { 121 if (xfs_extent_busy_search(mp, agno, fbno, flen)) {
122 trace_xfs_discard_busy(mp, agno, fbno, flen); 122 trace_xfs_discard_busy(mp, agno, fbno, flen);
123 goto next_extent; 123 goto next_extent;
124 } 124 }
@@ -212,7 +212,7 @@ xfs_discard_extents(
212 struct xfs_mount *mp, 212 struct xfs_mount *mp,
213 struct list_head *list) 213 struct list_head *list)
214{ 214{
215 struct xfs_busy_extent *busyp; 215 struct xfs_extent_busy *busyp;
216 int error = 0; 216 int error = 0;
217 217
218 list_for_each_entry(busyp, list, list) { 218 list_for_each_entry(busyp, list, list) {