btrfs-progs: check: fix typos in code comment and 1 typo in warning

Pull-request: #356
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Jaak Ristioja 2021-03-11 23:31:47 +02:00 committed by David Sterba
parent 78aa1d95dd
commit 2f9736d051

View File

@ -175,10 +175,10 @@ static inline u32 btrfs_type_to_imode(u8 type)
int get_extent_item_generation(u64 bytenr, u64 *gen_ret);
/*
* Check tree block alignement for future subpage support on 64K page system.
* Check tree block alignment for future subpage support on 64K page system.
*
* Subpage support on 64K page size require one eb to be completely contained
* by a page. Not allowing a tree block to cross 64K page boudanry.
* by a page. Not allowing a tree block to cross 64K page boundary.
*
* Since subpage support is still under development, this check only provides
* warning.
@ -188,7 +188,7 @@ static inline void btrfs_check_subpage_eb_alignment(u64 start, u32 len)
if (start / BTRFS_MAX_METADATA_BLOCKSIZE !=
(start + len - 1) / BTRFS_MAX_METADATA_BLOCKSIZE)
warning(
"tree block [%llu, %llu) crosses 64K page boudnary, may cause problem for 64K page system",
"tree block [%llu, %llu) crosses 64K page boundary, may cause problem for 64K page system",
start, start + len);
}