aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-06-23 04:11:15 -0400
committerAlex Elder <aelder@sgi.com>2010-07-26 14:16:39 -0400
commitcd8b0bb3c49d0691e9e7b4cf19e21ca63b92c053 (patch)
tree2cefaf57f221ba8c8939ff31884f82bad4f3894a /fs/xfs/xfs_bmap.c
parenta59f55703c3725b2fa582924f51db62b58be05bb (diff)
xfs: remove unused XFS_BMAPI_ flags
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index e0389656ad2c..598a30ba3141 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -4618,19 +4618,13 @@ xfs_bmapi(
4618 * allocate the stuff asked for in this bmap call 4618 * allocate the stuff asked for in this bmap call
4619 * but that wouldn't be as good. 4619 * but that wouldn't be as good.
4620 */ 4620 */
4621 if (wasdelay && !(flags & XFS_BMAPI_EXACT)) { 4621 if (wasdelay) {
4622 alen = (xfs_extlen_t)got.br_blockcount; 4622 alen = (xfs_extlen_t)got.br_blockcount;
4623 aoff = got.br_startoff; 4623 aoff = got.br_startoff;
4624 if (lastx != NULLEXTNUM && lastx) { 4624 if (lastx != NULLEXTNUM && lastx) {
4625 ep = xfs_iext_get_ext(ifp, lastx - 1); 4625 ep = xfs_iext_get_ext(ifp, lastx - 1);
4626 xfs_bmbt_get_all(ep, &prev); 4626 xfs_bmbt_get_all(ep, &prev);
4627 } 4627 }
4628 } else if (wasdelay) {
4629 alen = (xfs_extlen_t)
4630 XFS_FILBLKS_MIN(len,
4631 (got.br_startoff +
4632 got.br_blockcount) - bno);
4633 aoff = bno;
4634 } else { 4628 } else {
4635 alen = (xfs_extlen_t) 4629 alen = (xfs_extlen_t)
4636 XFS_FILBLKS_MIN(len, MAXEXTLEN); 4630 XFS_FILBLKS_MIN(len, MAXEXTLEN);