summaryrefslogtreecommitdiff
path: root/btrfs-find-root.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-10 15:17:10 +0100
committerDavid Sterba <dsterba@suse.cz>2015-02-10 15:17:33 +0100
commit478a4f21e480096b6c2f54ee5dd6421a557f26ab (patch)
tree77ef50db2046f1977caea9dd93f345b1fb7163b1 /btrfs-find-root.c
parent8fa8156a0e8dc60403d3a182532ed0c0e5bcb287 (diff)
parent4915964fc653033189c733ec738b4b23c87b9e5d (diff)
Merge remote-tracking branch 'remotes/josef/for-kdave' into v3.19.x
"This series of patches fixes up btrfsck in lots of ways and adds some new functionality. These patches were required to fix Hugo's broken multi-disk fs as well as fix fsck so it would actually pass all of the fsck tests. This also fixes a long standing btrfs-image problem where it wouldn't restore multi disk images onto a single disk properly."
Diffstat (limited to 'btrfs-find-root.c')
-rw-r--r--btrfs-find-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-find-root.c b/btrfs-find-root.c
index 3edb8332..c6e6b82f 100644
--- a/btrfs-find-root.c
+++ b/btrfs-find-root.c
@@ -79,7 +79,7 @@ static struct btrfs_root *open_ctree_broken(int fd, const char *device)
return NULL;
}
- ret = btrfs_scan_fs_devices(fd, device, &fs_devices, 0, 1);
+ ret = btrfs_scan_fs_devices(fd, device, &fs_devices, 0, 1, 0);
if (ret)
goto out;