Skip to content

Commit

Permalink
ext2: Fix a typo in comment
Browse files Browse the repository at this point in the history
Fix a typo in ext2_get_blocks comment.

Signed-off-by: Liu Xiang <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
Liu Xiang authored and jankara committed Jan 29, 2019
1 parent 0b7a814 commit 4bc74ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ static int ext2_get_blocks(struct inode *inode,
/* the number of blocks need to allocate for [d,t]indirect blocks */
indirect_blks = (chain + depth) - partial - 1;
/*
* Next look up the indirect map to count the totoal number of
* Next look up the indirect map to count the total number of
* direct blocks to allocate for this branch.
*/
count = ext2_blks_to_allocate(partial, indirect_blks,
Expand Down

0 comments on commit 4bc74ba

Please sign in to comment.