btrfs-progs: Introduce change_header_uuid function
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 11 May 2015 08:08:47 +0000 (16:08 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 14 May 2015 13:41:07 +0000 (15:41 +0200)
commit0c8b978881f8f5d2b15b7bf2ec5621500ec3858a
tree4a89621fec0972a11f79ef6d1fa738899e308e80
parent92b020ee0487b34282169a55a91261cee3daa1fe
btrfs-progs: Introduce change_header_uuid function

This function is used to change fsid and chunk_tree_uuid of a node/leaf.
The function does it without transaction protection.

This is the basis of offline uuid change.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfstune.c
ctree.h
props.c