ext2: fix a typo in comment
authorChengguang Xu <cgxu519@zoho.com.cn>
Wed, 12 Jun 2019 04:57:53 +0000 (12:57 +0800)
committerJan Kara <jack@suse.cz>
Wed, 12 Jun 2019 13:08:02 +0000 (15:08 +0200)
Just fix a typo in comment and remove redundant blank line
in ext2_data_block_valid().

Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c

index 33db13365c5eb8c52265218a327f302dbac2fed5..547c165299c0c5a209cd6f5f45d2e31e5e3f364e 100644 (file)
@@ -1197,7 +1197,7 @@ static int ext2_has_free_blocks(struct ext2_sb_info *sbi)
 
 /*
  * Returns 1 if the passed-in block region is valid; 0 if some part overlaps
- * with filesystem metadata blocksi.
+ * with filesystem metadata blocks.
  */
 int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk,
                          unsigned int count)
@@ -1212,7 +1212,6 @@ int ext2_data_block_valid(struct ext2_sb_info *sbi, ext2_fsblk_t start_blk,
            (start_blk + count >= sbi->s_sb_block))
                return 0;
 
-
        return 1;
 }