xfs: define the on-disk refcount btree format
Start constructing the refcount btree implementation by establishing the on-disk format and everything needed to read, write, and manipulate the refcount btree blocks. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -1217,6 +1217,9 @@ xfs_btree_set_refs(
|
||||
case XFS_BTNUM_RMAP:
|
||||
xfs_buf_set_ref(bp, XFS_RMAP_BTREE_REF);
|
||||
break;
|
||||
case XFS_BTNUM_REFC:
|
||||
xfs_buf_set_ref(bp, XFS_REFC_BTREE_REF);
|
||||
break;
|
||||
default:
|
||||
ASSERT(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user