summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-09-18 22:41:00 +0200
committerAlex Elder <aelder@sgi.com>2011-10-12 04:15:06 +0200
commit29c8d17a8938be88e36b93522753f3519aefd05d (patch)
treee54ac344f5228cd22d447a9759682f73ce3d4c6e /fs/xfs/xfs_bmap.h
parentxfs: do not keep local copies of allocation ranges in xfs_bmapi_allocate (diff)
downloadlinux-29c8d17a8938be88e36b93522753f3519aefd05d.tar.xz
linux-29c8d17a8938be88e36b93522753f3519aefd05d.zip
xfs: move btree cursor 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 5f398b1ac70c..858d9d509989 100644
--- a/fs/xfs/xfs_bmap.h
+++ b/fs/xfs/xfs_bmap.h
@@ -120,6 +120,8 @@ typedef struct xfs_bmalloca {
xfs_extlen_t length; /* i/o length asked/allocated */
xfs_fsblock_t blkno; /* starting block of new extent */
+ struct xfs_btree_cur *cur; /* btree cursor */
+
xfs_extlen_t total; /* total blocks needed for xaction */
xfs_extlen_t minlen; /* minimum allocation size (blocks) */
xfs_extlen_t minleft; /* amount must be left after alloc */