summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorLiu Xiang <liu.xiang6@zte.com.cn>2019-01-29 20:39:49 +0800
committerJan Kara <jack@suse.cz>2019-01-29 16:43:54 +0100
commit4bc74ba1c7320933ba8d59a42563b722fe539a36 (patch)
treeaac9d5ccde30cd262cea07ce34f65da06305162b /fs/ext2
parent0b7a814c26444ec71c5a37a4a60ea180d8e8c6e8 (diff)
ext2: Fix a typo in comment
Fix a typo in ext2_get_blocks comment. Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index e64029b1bd50..17cdefdc62a8 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -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,