btrfs-progs: fix more typos found by codespell

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-08-18 18:23:15 +02:00
parent 240f518441
commit 2b35741a39
5 changed files with 7 additions and 7 deletions

View file

@ -201,7 +201,7 @@ static int write_extent_content(struct btrfs_fs_info *fs_info, int out_fd,
static const char * const map_logical_usage[] = {
"btrfs-map-logical [options] device",
"Map logical addres on a device",
"Map logical address on a device",
"",
OPTLINE("-l OFFSET", "logical extent to map"),
OPTLINE("-c COPY", "copy of the extent to read (usually 1 or 2)"),

View file

@ -5327,7 +5327,7 @@ static int process_chunk_item(struct cache_tree *chunk_cache,
* Do extra check for this chunk item,
*
* It's still possible one can craft a leaf with CHUNK_ITEM, with
* wrong onwer(3) out of chunk tree, to pass both chunk tree check
* wrong owner(3) out of chunk tree, to pass both chunk tree check
* and owner<->key_type check.
*/
ret = btrfs_check_chunk_valid(eb, chunk, key->offset);

View file

@ -2208,7 +2208,7 @@ static int __count_dir_isize(struct btrfs_root *root, u64 ino, int type,
ret = -EIO;
goto out;
}
/* if found, go to spacial case */
/* If found, go to special case. */
if (ret == 0)
goto special_case;

View file

@ -25,7 +25,7 @@ void test_simple_create_free()
tab = table_create(2, 2);
if (!tab) {
fprintf(stderr, "ERROR: cannot alocate table\n");
fprintf(stderr, "ERROR: cannot allocate table\n");
return;
}
table_printf(tab, 0, 0, ">00");
@ -45,7 +45,7 @@ void test_simple_header()
tab = table_create(2, 6);
if (!tab) {
fprintf(stderr, "ERROR: cannot alocate table\n");
fprintf(stderr, "ERROR: cannot allocate table\n");
return;
}
tab->hrows = 2;
@ -77,7 +77,7 @@ void test_simple_paginate()
tab = table_create(2, 2 + page_size * pages);
if (!tab) {
fprintf(stderr, "ERROR: cannot alocate table\n");
fprintf(stderr, "ERROR: cannot allocate table\n");
return;
}
tab->hrows = 2;

View file

@ -105,7 +105,7 @@ static int get_last_csum_bytenr(struct btrfs_fs_info *fs_info, u64 *result)
if (ret < 0)
return ret;
/*
* Emptry csum tree, set last csum byte to 0 so we can skip new data
* Empty csum tree, set last csum byte to 0 so we can skip new data
* csum generation.
*/
if (ret > 0) {