bcachefs: Fix a handful of spelling mistakes in various messages

There are several spelling mistakes in error messages. Fix these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Colin Ian King 2023-09-12 09:25:27 +01:00 committed by Kent Overstreet
parent 74c1e4221b
commit 6bf3766b52
5 changed files with 5 additions and 5 deletions

View File

@ -357,7 +357,7 @@ static int bch2_check_btree_backpointer(struct btree_trans *trans, struct btree_
int ret = 0; int ret = 0;
if (fsck_err_on(!bch2_dev_exists2(c, k.k->p.inode), c, if (fsck_err_on(!bch2_dev_exists2(c, k.k->p.inode), c,
"backpointer for mising device:\n%s", "backpointer for missing device:\n%s",
(bch2_bkey_val_to_text(&buf, c, k), buf.buf))) { (bch2_bkey_val_to_text(&buf, c, k), buf.buf))) {
ret = bch2_btree_delete_at(trans, bp_iter, 0); ret = bch2_btree_delete_at(trans, bp_iter, 0);
goto out; goto out;

View File

@ -1495,7 +1495,7 @@ static void bch2_trans_update_max_paths(struct btree_trans *trans)
static noinline void btree_path_overflow(struct btree_trans *trans) static noinline void btree_path_overflow(struct btree_trans *trans)
{ {
bch2_dump_trans_paths_updates(trans); bch2_dump_trans_paths_updates(trans);
panic("trans path oveflow\n"); panic("trans path overflow\n");
} }
static inline struct btree_path *btree_path_alloc(struct btree_trans *trans, static inline struct btree_path *btree_path_alloc(struct btree_trans *trans,

View File

@ -562,7 +562,7 @@ static void check_version_upgrade(struct bch_fs *c)
if ((recovery_passes & RECOVERY_PASS_ALL_FSCK) == RECOVERY_PASS_ALL_FSCK) if ((recovery_passes & RECOVERY_PASS_ALL_FSCK) == RECOVERY_PASS_ALL_FSCK)
prt_str(&buf, "fsck required"); prt_str(&buf, "fsck required");
else { else {
prt_str(&buf, "running recovery passses: "); prt_str(&buf, "running recovery passes: ");
prt_bitflags(&buf, bch2_recovery_passes, recovery_passes); prt_bitflags(&buf, bch2_recovery_passes, recovery_passes);
} }

View File

@ -1385,7 +1385,7 @@ int bch2_delete_dead_snapshots(struct bch_fs *c)
if (!test_bit(BCH_FS_STARTED, &c->flags)) { if (!test_bit(BCH_FS_STARTED, &c->flags)) {
ret = bch2_fs_read_write_early(c); ret = bch2_fs_read_write_early(c);
if (ret) { if (ret) {
bch_err_msg(c, ret, "error deleleting dead snapshots: error going rw"); bch_err_msg(c, ret, "deleting dead snapshots: error going rw");
return ret; return ret;
} }
} }

View File

@ -384,7 +384,7 @@ static int bch2_sb_validate(struct bch_sb_handle *disk_sb, struct printbuf *out,
} }
if (bch2_is_zero(sb->uuid.b, sizeof(sb->uuid))) { if (bch2_is_zero(sb->uuid.b, sizeof(sb->uuid))) {
prt_printf(out, "Bad intenal UUID (got zeroes)"); prt_printf(out, "Bad internal UUID (got zeroes)");
return -BCH_ERR_invalid_sb_uuid; return -BCH_ERR_invalid_sb_uuid;
} }