summaryrefslogtreecommitdiffstats
path: root/fs/ext2
diff options
context:
space:
mode:
authorLiu Xiang2019-01-29 13:39:49 +0100
committerJan Kara2019-01-29 16:43:54 +0100
commit4bc74ba1c7320933ba8d59a42563b722fe539a36 (patch)
treeaac9d5ccde30cd262cea07ce34f65da06305162b /fs/ext2
parentext2: Remove redundant check for finding no group (diff)
downloadkernel-qcow2-linux-4bc74ba1c7320933ba8d59a42563b722fe539a36.tar.gz
kernel-qcow2-linux-4bc74ba1c7320933ba8d59a42563b722fe539a36.tar.xz
kernel-qcow2-linux-4bc74ba1c7320933ba8d59a42563b722fe539a36.zip
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,