X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=btrfs-select-super.c;h=e021221e286d20218c84a9c7e7605c55e4526a0b;hb=9aa0c422b82c15fee1ac5cd3b0fae2ebe358d64a;hp=0a89996645c34ec6ffcae0b1234cf0602379a1e7;hpb=1c880f34f13e51aae9704449603f74680e442cf6;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/btrfs-select-super.c b/btrfs-select-super.c index 0a89996..e021221 100644 --- a/btrfs-select-super.c +++ b/btrfs-select-super.c @@ -93,7 +93,7 @@ int main(int argc, char **argv) /* make the super writing code think we've read the first super */ root->fs_info->super_bytenr = BTRFS_SUPER_INFO_OFFSET; - ret = write_all_supers(root); + ret = write_all_supers(root->fs_info); /* we don't close the ctree or anything, because we don't want a real * transaction commit. We just want the super copy we pulled off the