Commit b41b98e1 authored by Rong Tao's avatar Rong Tao Committed by Jan Kara

fs/ext2: Fix code indentation

ts=4 can cause misunderstanding in code reading. It is better to replace
8 spaces with one tab.
Signed-off-by: default avatarRong Tao <rongtao@cestc.cn>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 27e714c0
...@@ -667,7 +667,7 @@ ext2_try_to_allocate(struct super_block *sb, int group, ...@@ -667,7 +667,7 @@ ext2_try_to_allocate(struct super_block *sb, int group,
{ {
ext2_fsblk_t group_first_block = ext2_group_first_block_no(sb, group); ext2_fsblk_t group_first_block = ext2_group_first_block_no(sb, group);
ext2_fsblk_t group_last_block = ext2_group_last_block_no(sb, group); ext2_fsblk_t group_last_block = ext2_group_last_block_no(sb, group);
ext2_grpblk_t start, end; ext2_grpblk_t start, end;
unsigned long num = 0; unsigned long num = 0;
start = 0; start = 0;
...@@ -1481,11 +1481,11 @@ unsigned long ext2_count_free_blocks (struct super_block * sb) ...@@ -1481,11 +1481,11 @@ unsigned long ext2_count_free_blocks (struct super_block * sb)
desc_count, bitmap_count); desc_count, bitmap_count);
return bitmap_count; return bitmap_count;
#else #else
for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) { for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) {
desc = ext2_get_group_desc (sb, i, NULL); desc = ext2_get_group_desc(sb, i, NULL);
if (!desc) if (!desc)
continue; continue;
desc_count += le16_to_cpu(desc->bg_free_blocks_count); desc_count += le16_to_cpu(desc->bg_free_blocks_count);
} }
return desc_count; return desc_count;
#endif #endif
......
...@@ -1648,7 +1648,7 @@ static int __init init_ext2_fs(void) ...@@ -1648,7 +1648,7 @@ static int __init init_ext2_fs(void)
err = init_inodecache(); err = init_inodecache();
if (err) if (err)
return err; return err;
err = register_filesystem(&ext2_fs_type); err = register_filesystem(&ext2_fs_type);
if (err) if (err)
goto out; goto out;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment