summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-06-18 17:00:14 +0200
committerDavid Sterba <dsterba@suse.com>2018-08-06 14:59:04 +0200
commite7e89d93c284218dafed8caf46835cd3620e5577 (patch)
tree13740d181380023bec185e9b7138c1f1377abd3d /utils.h
parent4694077298033558cefb6e1c7f57980a32c70d02 (diff)
btrfs-progs: pass superblock flags to mount check helpers
Extend check_mounted_where so we can pass additional flags that would allow us to open filesystem in some specific state. This will be used for a filesystem that has a partially changed uuid. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 403de481..b6c00cfa 100644
--- a/utils.h
+++ b/utils.h
@@ -92,7 +92,7 @@ char *canonicalize_dm_name(const char *ptname);
char *canonicalize_path(const char *path);
int check_mounted(const char *devicename);
int check_mounted_where(int fd, const char *file, char *where, int size,
- struct btrfs_fs_devices **fs_devices_mnt);
+ struct btrfs_fs_devices **fs_devices_mnt, unsigned sbflags);
int btrfs_device_already_in_root(struct btrfs_root *root, int fd,
int super_offset);