cmd_list_journal: open with noexcl, so we can work on mounted filesystems

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-06-02 21:06:30 -04:00
parent cafd2226a2
commit 587f7f5a47

View File

@ -217,6 +217,7 @@ int cmd_list_journal(int argc, char *argv[])
d_btree_id key_filter = { 0 };
int opt;
opt_set(opts, noexcl, true);
opt_set(opts, nochanges, true);
opt_set(opts, norecovery, true);
opt_set(opts, read_only, true);