diff options
author | David Sterba <dsterba@suse.com> | 2018-06-18 17:00:14 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 14:59:04 +0200 |
commit | e7e89d93c284218dafed8caf46835cd3620e5577 (patch) | |
tree | 13740d181380023bec185e9b7138c1f1377abd3d /utils.h | |
parent | 4694077298033558cefb6e1c7f57980a32c70d02 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |