Hi, I found some typos in this series. I'll resend v3.1 soon with set_uuid_random feature. Please ignore this series. Regards, - Chen
-----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Chen Hanxiao Sent: Friday, June 26, 2015 3:01 PM To: libguestfs@redhat.com Subject: [Libguestfs] [PATCH v3 0/4] uuid: add btrfs uuid change support and some rework
- 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 Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs