]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor xfs_ialloc_btree.c to support multiple inobt numbers
authorBrian Foster <bfoster@redhat.com>
Tue, 20 May 2014 21:52:26 +0000 (07:52 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 20 May 2014 21:52:26 +0000 (07:52 +1000)
commit70eb7337fc3af37e628de81c52b94fbc3a8324a7
tree533c45d1653c6e9abdb0fd79474f932d3cfccc14
parent2c350101393f7effcdce815f20d97f239bf2a78c
xfs: refactor xfs_ialloc_btree.c to support multiple inobt numbers

The introduction of the free inode btree (finobt) requires that
xfs_ialloc_btree.c handle multiple trees. Refactor xfs_ialloc_btree.c
so the caller specifies the btree type on cursor initialization to
prepare for addition of the finobt.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/xfs_ialloc_btree.h
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c