Add vendoring to containerd master
Initial vendor list validated with empty $GOPATH and only master checked out; followed by `make` and verified that all binaries build properly. Updates require github.com/LK4D4/vndr tool. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
parent
286ea04591
commit
dd9309c15e
407 changed files with 113562 additions and 0 deletions
21
vendor/github.com/stevvooe/go-btrfs/btrfs.h
generated
vendored
Normal file
21
vendor/github.com/stevvooe/go-btrfs/btrfs.h
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include <stddef.h>
|
||||
#include <linux/magic.h>
|
||||
#include <btrfs/ioctl.h>
|
||||
#include <btrfs/ctree.h>
|
||||
|
||||
// unfortunately, we need to define "alignment safe" C structs to populate for
|
||||
// packed structs that aren't handled by cgo. Fields will be added here, as
|
||||
// needed.
|
||||
|
||||
struct gosafe_btrfs_root_item {
|
||||
u8 uuid[BTRFS_UUID_SIZE];
|
||||
u8 parent_uuid[BTRFS_UUID_SIZE];
|
||||
u8 received_uuid[BTRFS_UUID_SIZE];
|
||||
|
||||
u64 gen;
|
||||
u64 ogen;
|
||||
u64 flags;
|
||||
};
|
||||
|
||||
void unpack_root_item(struct gosafe_btrfs_root_item* dst, struct btrfs_root_item* src);
|
||||
/* void unpack_root_ref(struct gosafe_btrfs_root_ref* dst, struct btrfs_root_ref* src); */
|
Loading…
Add table
Add a link
Reference in a new issue