commit | c611cc0360cd924448c23ccd70ce8be703fcb4a6 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Sep 19 10:25:20 2016 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Mon Sep 19 10:25:20 2016 +1000 |
tree | 8b421e59d4ebc171b0d7038d957cfd2b824c8db3 | |
parent | 4ed3f68792f6a9c21a290ae777565e7562a09653 [diff] |
xfs: count the blocks in a btree Provide a helper method to count the number of blocks in a short form btree. The refcount and rmap btrees need to know the number of blocks already in use to set up their per-AG block reservations during mount. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>