diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-12-10 15:04:11 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-12-16 16:06:15 -0600 |
commit | 489a150f6454e2cd93d9e0ee6d7c5a361844f62a (patch) | |
tree | 18deded59797caaec9f01ef5a3eb66a765bef29f /fs/xfs/xfs_inode.h | |
parent | 9f9baab38dacd11fe6095a1e59f3783a305f7020 (diff) |
xfs: factor duplicate code in xfs_alloc_ag_vextent_near into a helper
Add a new xfs_alloc_find_best_extent that does a forward/backward
search in the allocation btree. That code previously was existed
two times in xfs_alloc_ag_vextent_near, once for each search
direction.
Based on an earlier patch from Dave Chinner.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
0 files changed, 0 insertions, 0 deletions