From: yingyil <yingyil@xxxxxxxxxx> Add -S/--subvol [NAME] option to configure. It enables users to create a subvolume under the toplevel volume and populate the created subvolume with files from the rootdir specified by -r/--rootdir option. Two functions link_subvol() and create_subvol() are moved from convert/main.c to utils.c to enable code reuse. yingyil (1): btrfs-progs: mkfs: add subvolume support to mkfs convert/main.c | 161 --------------------------------------------------------- mkfs/main.c | 73 ++++++++++++++++++++++++-- utils.c | 161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ utils.h | 5 ++ 4 files changed, 234 insertions(+), 166 deletions(-) -- 2.14.1.342.g6490525c54-goog -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
