diff options
Diffstat (limited to 'c_src/cmd_strip_alloc.c')
-rw-r--r-- | c_src/cmd_strip_alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c_src/cmd_strip_alloc.c b/c_src/cmd_strip_alloc.c index c313b665..e16eb093 100644 --- a/c_src/cmd_strip_alloc.c +++ b/c_src/cmd_strip_alloc.c @@ -104,8 +104,9 @@ int cmd_strip_alloc(int argc, char *argv[]) struct bch_opts opts = bch2_opts_empty(); opt_set(opts, nostart, true); + struct bch_fs *c; reopen: - struct bch_fs *c = bch2_fs_open(&devs, &opts); + c = bch2_fs_open(&devs, &opts); int ret = PTR_ERR_OR_ZERO(c); if (ret) die("Error opening filesystem: %s", bch2_err_str(ret)); |