diff options
author | Brian Foster <bfoster@redhat.com> | 2023-11-27 13:31:10 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-27 21:04:03 -0500 |
commit | 1cdb7812d177bfa8d88c23396434195f3a7ced47 (patch) | |
tree | 2bb3f9411fe190c7361a0dfc3ef55d41e1750f48 /libbcachefs/backpointers.c | |
parent | 843707ede687387c91d736c601d3ddee91e9f893 (diff) |
bcachefs-tools: don't skip stale superblock wipe in force mode
Even though the blkid wipe has been fixed to detect and wipe old
superblocks, we still incorrectly skip the wipe when in force mode.
Update the force logic in open_for_format() to bypass the user
request and otherwise proceed with the wipe.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/backpointers.c')
0 files changed, 0 insertions, 0 deletions