Skip to content

Commit b41b98e

Browse files
Rtoaxjankara
authored andcommitted
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: Rong Tao <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent 27e714c commit b41b98e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fs/ext2/balloc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ ext2_try_to_allocate(struct super_block *sb, int group,
667667
{
668668
ext2_fsblk_t group_first_block = ext2_group_first_block_no(sb, group);
669669
ext2_fsblk_t group_last_block = ext2_group_last_block_no(sb, group);
670-
ext2_grpblk_t start, end;
670+
ext2_grpblk_t start, end;
671671
unsigned long num = 0;
672672

673673
start = 0;
@@ -1481,11 +1481,11 @@ unsigned long ext2_count_free_blocks (struct super_block * sb)
14811481
desc_count, bitmap_count);
14821482
return bitmap_count;
14831483
#else
1484-
for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) {
1485-
desc = ext2_get_group_desc (sb, i, NULL);
1486-
if (!desc)
1487-
continue;
1488-
desc_count += le16_to_cpu(desc->bg_free_blocks_count);
1484+
for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) {
1485+
desc = ext2_get_group_desc(sb, i, NULL);
1486+
if (!desc)
1487+
continue;
1488+
desc_count += le16_to_cpu(desc->bg_free_blocks_count);
14891489
}
14901490
return desc_count;
14911491
#endif

fs/ext2/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ static int __init init_ext2_fs(void)
16481648
err = init_inodecache();
16491649
if (err)
16501650
return err;
1651-
err = register_filesystem(&ext2_fs_type);
1651+
err = register_filesystem(&ext2_fs_type);
16521652
if (err)
16531653
goto out;
16541654
return 0;

0 commit comments

Comments
 (0)