mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-29 22:47:56 +00:00
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:
parent
78aa1d95dd
commit
2f9736d051
@ -175,10 +175,10 @@ static inline u32 btrfs_type_to_imode(u8 type)
|
|||||||
int get_extent_item_generation(u64 bytenr, u64 *gen_ret);
|
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
|
* 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
|
* Since subpage support is still under development, this check only provides
|
||||||
* warning.
|
* warning.
|
||||||
@ -188,7 +188,7 @@ static inline void btrfs_check_subpage_eb_alignment(u64 start, u32 len)
|
|||||||
if (start / BTRFS_MAX_METADATA_BLOCKSIZE !=
|
if (start / BTRFS_MAX_METADATA_BLOCKSIZE !=
|
||||||
(start + len - 1) / BTRFS_MAX_METADATA_BLOCKSIZE)
|
(start + len - 1) / BTRFS_MAX_METADATA_BLOCKSIZE)
|
||||||
warning(
|
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);
|
start, start + len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user