mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
cmd_migrate: Fix fsck invocation
It's now an error to ask for a read_write filesystem with nochanges. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
b6afe1bed4
commit
076216c16b
@ -733,6 +733,7 @@ static int migrate_fs(const char *fs_path,
|
||||
printf("Migrate complete, running fsck:\n");
|
||||
opt_set(opts, nostart, false);
|
||||
opt_set(opts, nochanges, true);
|
||||
opt_set(opts, read_only, true);
|
||||
|
||||
c = bch2_fs_open(path, 1, opts);
|
||||
if (IS_ERR(c))
|
||||
|
Loading…
Reference in New Issue
Block a user