mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
fixup for old gcc
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
bc1680d488
commit
8e56da27fd
@ -445,6 +445,7 @@ struct bchfs_handle bcache_fs_open(const char *path)
|
||||
*/
|
||||
struct bchfs_handle bchu_fs_open_by_dev(const char *path, int *idx)
|
||||
{
|
||||
struct bch_opts opts = bch2_opts_empty();
|
||||
char buf[1024], *uuid_str;
|
||||
|
||||
struct stat stat = xstat(path);
|
||||
@ -469,8 +470,6 @@ struct bchfs_handle bchu_fs_open_by_dev(const char *path, int *idx)
|
||||
uuid_str = p + 1;
|
||||
} else {
|
||||
read_super:
|
||||
struct bch_opts opts = bch2_opts_empty();
|
||||
|
||||
opt_set(opts, noexcl, true);
|
||||
opt_set(opts, nochanges, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user