summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-08-19 16:36:40 +0200
committerDavid Sterba <dsterba@suse.com>2016-08-24 14:36:58 +0200
commit059832da5f533d5ddf6ba15b7a190efe5a09ea8c (patch)
treef0de7dc909f9249295d6dbf8d63bea3564bbf35f /volumes.h
parentc11bd9cfd2d4fc6501c52da968b64c6806b968a7 (diff)
btrfs-progs: make superblock reading/scanning api more generic
We'll add more modes that affect scanning. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'volumes.h')
-rw-r--r--volumes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/volumes.h b/volumes.h
index d88e1cf0..af7182b8 100644
--- a/volumes.h
+++ b/volumes.h
@@ -210,7 +210,7 @@ int btrfs_update_device(struct btrfs_trans_handle *trans,
struct btrfs_device *device);
int btrfs_scan_one_device(int fd, const char *path,
struct btrfs_fs_devices **fs_devices_ret,
- u64 *total_devs, u64 super_offset, int super_recover);
+ u64 *total_devs, u64 super_offset, unsigned sbflags);
int btrfs_num_copies(struct btrfs_mapping_tree *map_tree, u64 logical, u64 len);
struct list_head *btrfs_scanned_uuids(void);
int btrfs_add_system_chunk(struct btrfs_trans_handle *trans,