From 2fd02b1f5f50d499b8f19d0cc5e9bc9ed7e686cd Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Sat, 26 Jan 2019 00:37:47 +0000 Subject: New upstream release --- volumes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'volumes.h') diff --git a/volumes.h b/volumes.h index b4ea93f0..e30bcef7 100644 --- a/volumes.h +++ b/volumes.h @@ -71,6 +71,7 @@ struct btrfs_device { struct btrfs_fs_devices { u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ + u8 metadata_uuid[BTRFS_FSID_SIZE]; /* FS specific uuid */ /* the device with this id has the most recent copy of the super */ u64 latest_devid; @@ -268,6 +269,9 @@ int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, int flags); int btrfs_close_devices(struct btrfs_fs_devices *fs_devices); void btrfs_close_all_devices(void); +int btrfs_insert_dev_extent(struct btrfs_trans_handle *trans, + struct btrfs_device *device, + u64 chunk_offset, u64 num_bytes, u64 start); int btrfs_add_device(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_device *device); -- cgit v1.2.3