xfs: set the refcount btree cowflag when setting up cow
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 17 Oct 2016 22:09:21 +0000 (15:09 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 21 Oct 2016 15:20:14 +0000 (23:20 +0800)
commitbf5a5da572472a010223d039d90e79ecb7dc5e3c
treeed919dc2683076dce7dab3e3f8a7bb14c54c1b98
parent54659ecdb575782ec2b30aaf77cc7b1f5a7dd2ee
xfs: set the refcount btree cowflag when setting up cow

When we're setting up a fake cow extent in the refcountbt to test
cleanup of fake cow extents, set the cowflag in the record field
to reflect our new disk format of storing the staging extents in
the right side of the tree.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/307
tests/xfs/308