Implement the generic btree operations required to manipulate refcount btree blocks. The implementation is similar to the bmapbt, though it will only allocate and free blocks from the AG. [Add the xfs_refcount.h file to the standard include list.] Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> [hch: fix logging of AGF refcount btree fields] Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- v2: Remove init_rec_from_key since we no longer need it, and add tracepoints when refcount btree operations fail. Since the refcount root and level fields are separate from the existing roots and levels array, they need a separate logging flag. --- include/libxfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libxfs.h b/include/libxfs.h index ec8f6ab..e5e1523 100644 --- a/include/libxfs.h +++ b/include/libxfs.h @@ -80,6 +80,7 @@ extern uint32_t crc32c_le(uint32_t crc, unsigned char const *p, size_t len); #include "xfs_rmap_btree.h" #include "xfs_rmap.h" #include "xfs_refcount_btree.h" +#include "xfs_refcount.h" #ifndef ARRAY_SIZE #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html