summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-09-18 20:41:01 +0000
committerAlex Elder <aelder@sgi.com>2011-10-11 21:15:06 -0500
commite0c3da5d89dc1aeef2275a8b751231e147603f0f (patch)
tree4409337fb70fba9979d8160d5055e402daa3a692 /fs/xfs/xfs_bmap.h
parent29c8d17a8938be88e36b93522753f3519aefd05d (diff)
downloadlinux-e0c3da5d89dc1aeef2275a8b751231e147603f0f.tar.gz
linux-e0c3da5d89dc1aeef2275a8b751231e147603f0f.tar.bz2
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.h2
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) */