提交 4bc74ba1 编写于 作者: L Liu Xiang 提交者: Jan Kara

ext2: Fix a typo in comment

Fix a typo in ext2_get_blocks comment.
Signed-off-by: NLiu Xiang <liu.xiang6@zte.com.cn>
Signed-off-by: NJan Kara <jack@suse.cz>
上级 0b7a814c
...@@ -717,7 +717,7 @@ static int ext2_get_blocks(struct inode *inode, ...@@ -717,7 +717,7 @@ static int ext2_get_blocks(struct inode *inode,
/* the number of blocks need to allocate for [d,t]indirect blocks */ /* the number of blocks need to allocate for [d,t]indirect blocks */
indirect_blks = (chain + depth) - partial - 1; 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. * direct blocks to allocate for this branch.
*/ */
count = ext2_blks_to_allocate(partial, indirect_blks, count = ext2_blks_to_allocate(partial, indirect_blks,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册