diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-31 21:34:15 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-31 21:34:15 -0400 |
commit | 1e058db4b603f8992b781b4654b48221dd04407a (patch) | |
tree | 6bd4fbddb46146c61889a28c72655cc0042b68dc | |
parent | b422b19f636329e1a082bcacd3ac6b485d7a5b3e (diff) |
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>
-rw-r--r-- | c_src/cmd_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/cmd_dump.c b/c_src/cmd_dump.c index 86ff507d..c9e417f2 100644 --- a/c_src/cmd_dump.c +++ b/c_src/cmd_dump.c @@ -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); |