Source kernel commit:
b6e3ae52a23a48ba4b7872a228f01138ab65e812
Make the bmap intent items take an active reference to the rtgroup
containing the space that is being mapped or unmapped. We will need
this functionality once we start enabling rmap and reflink on the rt
volume.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
enum xfs_bmap_intent_type bi_type;
int bi_whichfork;
struct xfs_inode *bi_owner;
- struct xfs_perag *bi_pag;
+ union {
+ struct xfs_perag *bi_pag;
+ struct xfs_rtgroup *bi_rtg;
+ };
struct xfs_bmbt_irec bi_bmap;
};