cmd_dump: Open in noexcl mode

no need to make it harder to dump than it needs to be

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-08-31 21:34:15 -04:00
parent b422b19f63
commit 1e058db4b6

View File

@ -112,6 +112,7 @@ int cmd_dump(int argc, char *argv[])
int fd, opt;
opt_set(opts, direct_io, false);
opt_set(opts, noexcl, true);
opt_set(opts, read_only, true);
opt_set(opts, nochanges, true);
opt_set(opts, norecovery, true);