diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-09-18 22:41:01 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-12 04:15:06 +0200 |
commit | e0c3da5d89dc1aeef2275a8b751231e147603f0f (patch) | |
tree | 4409337fb70fba9979d8160d5055e402daa3a692 /fs/xfs/xfs_bmap.h | |
parent | xfs: move btree cursor into bmalloca (diff) | |
download | linux-e0c3da5d89dc1aeef2275a8b751231e147603f0f.tar.xz linux-e0c3da5d89dc1aeef2275a8b751231e147603f0f.zip |
xfs: move lastx and nallocs into bmalloca
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.h')
-rw-r--r-- | fs/xfs/xfs_bmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap.h b/fs/xfs/xfs_bmap.h index 858d9d509989..c2d9e1ef4ba3 100644 --- a/fs/xfs/xfs_bmap.h +++ b/fs/xfs/xfs_bmap.h @@ -121,6 +121,8 @@ typedef struct xfs_bmalloca { xfs_fsblock_t blkno; /* starting block of new extent */ struct xfs_btree_cur *cur; /* btree cursor */ + xfs_extnum_t idx; /* current extent index */ + int nallocs;/* number of extents alloc'd */ xfs_extlen_t total; /* total blocks needed for xaction */ xfs_extlen_t minlen; /* minimum allocation size (blocks) */ |