ext2: Fix a typo in comment
authorLiu Xiang <liu.xiang6@zte.com.cn>
Tue, 29 Jan 2019 12:39:49 +0000 (20:39 +0800)
committerJan Kara <jack@suse.cz>
Tue, 29 Jan 2019 15:43:54 +0000 (16:43 +0100)
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>
fs/ext2/inode.c

index e64029b..17cdefd 100644 (file)
@@ -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,