- Btrfs-progs v4.1 introduced new feature of changing uuid of btrfs partition. This patch add support of this.
- uuids.c did a lot of deplicated work for changing uuid of fs. Use existing functions. v3: set errno if feature is not available. Chen Hanxiao (4): uuid: add support to change uuid of btrfs partition uuid: use existing function of ext2 uuid: use newly introduced xfs_set_uuid of xfs uuid: use newly introduced swap_set_uuid daemon/btrfs.c | 60 ++++++++++++++++++++++++++++++++++++++++++ daemon/daemon.h | 5 ++++ daemon/swap.c | 16 +++++++++++ daemon/uuids.c | 48 ++++----------------------------- daemon/xfs.c | 7 +++++ tests/btrfs/test-btrfs-misc.pl | 17 ++++++++++++ 6 files changed, 110 insertions(+), 43 deletions(-) -- 2.1.0 _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
