diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-17 17:38:44 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-17 17:38:44 -0400 |
commit | ffe083c31d0a387e5092e1709daf717c21c2a98d (patch) | |
tree | 86eac13113d1091fb2b5e5e411a1d725d55b04b3 /c_src/cmd_strip_alloc.c | |
parent | 8471005b9fadfccd4c848ad71c899b90793b554d (diff) |
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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)); |