{"push_id":917034127,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"c40c5fdf54de66cb71bebe56d5d680deacb9f61d","before":"364d54c9f09a770cbaf432cda295923720c74c31","commits":[{"sha":"3c16d0cb4d4d618dd83feefd1ab2854c9550d2cb","author":{"email":"48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org","name":"Christian Brauner"},"message":"Split bdev into modules: btrfs\n\nCreate a module for btrfs: lxcbtrfs.{c,h}.\n\nThe functions:\n\n\t- get_btrfs_subvol_path()\n\t- btrfs_list_get_path_rootid()\n\t- is_btrfs_fs()\n\t- btrfs_detect()\n\t- btrfs_mount()\n\t- btrfs_umount()\n\t- btrfs_subvolume_create()\n\t- btrfs_same_fs()\n\t- btrfs_snapshot()\n\t- btrfs_snapshot_wrapper()\n\t- btrfs_clonepaths()\n\t- btrfs_do_destroy_subvol()\n\t- get_btrfs_tree_idx()\n\t- my_btrfs_tree *create_my_btrfs_tree()\n\t- update_tree_node()\n\t- add_btrfs_tree_node()\n\t- free_btrfs_tree()\n\t- do_remove_btrfs_children()\n\t- btrfs_recursive_destroy()\n\t- btrfs_try_remove_subvol()\n\t- btrfs_destroy()\n\t- btrfs_create()\n\nand the structs:\n\n\t- struct mytree_node\n\t- struct my_btrfs_tree\n\nmove from bdev.{c,h} to lxcbtrfs.{c,h}.\n\nRename the header file\n\n\t- lxc-btrfs.h --> lxcbtrfs.h\n\nAdapt Makefile.am to include lxcbtrfs.{c,h} and remove lxc-btrfs.h.\n\nSigned-off-by: Christian Brauner <christian.brauner@mailbox.org>","distinct":true,"url":"https://api.github.com/repos/lxc/lxc/commits/3c16d0cb4d4d618dd83feefd1ab2854c9550d2cb"},{"sha":"988be9c1378e4a1af305f5cdd163ad9cd48b41ab","author":{"email":"48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org","name":"Christian Brauner"},"message":"lxcbtrfs.{c,h} rework declarations and definitions\n\nDeclare\n\n\t- btrfs_same_fs();\n\t- btrfs_snapshot();\n\nextern instead of static in lxcbtrfs.h. They are defined in lxcbtrfs.c.\n\nForward declare/put\n\n\t- struct bdev; /* defined in bdev.h */\n\t- struct bdev_specs; /* defined in lxccontainer.h */\n\t- struct lxc_conf; /* defined conf.h */\n\nas incomplete types in lxcbtrfs.h so that functions declared and defined in\nlxcbtrfs.{c,h} have access to it.\n\nDeclare\n\n\t- dir_new_path();\n\nin lxcbtrfs.c. It is defined in lxccontainer.c.\n\nMove definition of struct\n\n\t- struct rsync_data_char;\n\nfrom bdev.c to bdev.h because the functions in lxcbtrfs.{c,h} need to access it.\n\nSigned-off-by: Christian Brauner <christian.brauner@mailbox.org>","distinct":true,"url":"https://api.github.com/repos/lxc/lxc/commits/988be9c1378e4a1af305f5cdd163ad9cd48b41ab"},{"sha":"e9df7e1a94a693f74293b3f6cfe37268a830162b","author":{"email":"48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org","name":"Christian Brauner"},"message":"Split bdev into modules: lxcrsync\n\nThe functions:\n\n        - do_rsync();\n        - rsync_delta();\n        - rsync_delta_wrapper();\n        - rsync_rootfs();\n        - rsync_rootfs_wrapper();\n\nand the structs\n\n        - struct rsync_data;\n        - struct rsync_data_char;\n\nmove from bdev.{c,h} to lxcrsync.{c.h}. All functions previously declared as\nstatic become public.\n\nlxcrsync.{c,h} should allow for a reasonable amount of abstraction regarding\nour rsync functions. Some of the functions could easily be abstracted.\n\nAdapt Makefile.am to include lxcrsync.{c,h}.\n\nSigned-off-by: Christian Brauner <christian.brauner@mailbox.org>","distinct":true,"url":"https://api.github.com/repos/lxc/lxc/commits/e9df7e1a94a693f74293b3f6cfe37268a830162b"},{"sha":"3188197d2443b37193945f1043f39e7f3b96bd78","author":{"email":"48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org","name":"Christian Brauner"},"message":"Simplify overlay.{c,h}\n\nThe struct\n\n\tstruct ovl_rsync_data {\n\t\tstruct bdev *orig;\n\t\tstruct bdev *new;\n\t};\n\nis simply a duplicate of\n\n\tstruct rsync_data {\n\t\tstruct bdev *orig;\n\t\tstruct bdev *new;\n\t};\n\nSo let's replace any references to ovl_rsync_data with rsync_data.\n\nSigned-off-by: Christian Brauner <christian.brauner@mailbox.org>","distinct":true,"url":"https://api.github.com/repos/lxc/lxc/commits/3188197d2443b37193945f1043f39e7f3b96bd78"},{"sha":"c40c5fdf54de66cb71bebe56d5d680deacb9f61d","author":{"email":"48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org","name":"Christian Brauner"},"message":"Add <linux/types.h> header to lxcbtrfs.h\n\nUsing\n\n\t#include <sys/types.h>\n\nis not sufficient to guarantee that __le64 and other types are defined.\n\nSigned-off-by: Christian Brauner <christian.brauner@mailbox.org>","distinct":true,"url":"https://api.github.com/repos/lxc/lxc/commits/c40c5fdf54de66cb71bebe56d5d680deacb9f61d"}]}