Fix all spelling mistakes in history by typos tool

This commit is contained in:
Cautreoxit
2024-08-26 15:31:58 +08:00
committed by Tate, Hongliang Tian
parent b29d3b5409
commit 86f09eef75
120 changed files with 255 additions and 213 deletions

View File

@ -1485,7 +1485,7 @@ impl InodeImpl_ {
/// Shrinks inode size.
///
/// After the reduction, the size will be shrinked to `new_size`,
/// After the reduction, the size will be shrunk to `new_size`,
/// which may result in an decreased block count.
fn shrink(&mut self, new_size: usize) {
let new_blocks = self.desc.size_to_blocks(new_size);