summaryrefslogtreecommitdiff
path: root/libbcachefs/super-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-08-17 20:22:13 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-08-18 00:17:11 -0400
commit905297ad0fab4b2a2b48acfde9392f1abf4ce8fa (patch)
tree3432f3b961b4947ea6b571fda650c33573f6b8f8 /libbcachefs/super-io.c
parentc1c4d03aa6923dadc7cc31fcff37a6243b51d0b4 (diff)
Update bcachefs sources to d863521e4078 bcachefs: BCH_IOCTL_DISK_SET_STATE_v2
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/super-io.c')
-rw-r--r--libbcachefs/super-io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/super-io.c b/libbcachefs/super-io.c
index ec295a5e..61eeac67 100644
--- a/libbcachefs/super-io.c
+++ b/libbcachefs/super-io.c
@@ -90,7 +90,7 @@ int bch2_set_version_incompat(struct bch_fs *c, enum bcachefs_metadata_version v
bch2_version_to_text(&buf, version);
prt_str(&buf, " currently not enabled, allowed up to ");
bch2_version_to_text(&buf, c->sb.version_incompat_allowed);
- prt_printf(&buf, "\n set version_upgrade=incompatible to enable");
+ prt_printf(&buf, "\n set version_upgrade=incompat to enable");
bch_notice(c, "%s", buf.buf);
}
@@ -1189,13 +1189,13 @@ int bch2_write_super(struct bch_fs *c)
nr_wrote = dev_mask_nr(&sb_written);
can_mount_with_written =
- bch2_have_enough_devs(c, sb_written, degraded_flags, false);
+ bch2_have_enough_devs(c, sb_written, degraded_flags, NULL);
for (unsigned i = 0; i < ARRAY_SIZE(sb_written.d); i++)
sb_written.d[i] = ~sb_written.d[i];
can_mount_without_written =
- bch2_have_enough_devs(c, sb_written, degraded_flags, false);
+ bch2_have_enough_devs(c, sb_written, degraded_flags, NULL);
/*
* If we would be able to mount _without_ the devices we successfully