diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-11 18:17:07 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-11 18:32:23 -0400 |
commit | bcee0320dcb53adb3786330a00a101840f2939d0 (patch) | |
tree | c9450f842d5a5a76764f9ecbd01dc2608a227095 /libbcachefs/fs-io-buffered.c | |
parent | ae23e4541f020f3096ede3ac62ba6ab9cd37af3b (diff) |
cmd_dump: Also set read_only
In nochanges mode, without read_only, we can go into a fake rw mode
where we allow writes but hold them in memory.
That's not what we want for the dump tool - this fixes a bug where btree
nodes don't always get dumped correctly.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/fs-io-buffered.c')
0 files changed, 0 insertions, 0 deletions