]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ext2: Adjust indentation in ext2_fill_super
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 18 Dec 2019 03:19:31 +0000 (20:19 -0700)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 17 Feb 2020 11:07:02 +0000 (12:07 +0100)
commitb953300a9fc6f64b7b231cfee3ccdb50ec7f633b
tree72285e298cd6175ba7ef42ce9eed7ae42d5e2c61
parent8a0e49b2c1f9198da755874459edb83d33fb0e39
ext2: Adjust indentation in ext2_fill_super

BugLink: https://bugs.launchpad.net/bugs/1863588
commit d9e9866803f7b6c3fdd35d345e97fb0b2908bbbc upstream.

Clang warns:

../fs/ext2/super.c:1076:3: warning: misleading indentation; statement is
not part of the previous 'if' [-Wmisleading-indentation]
        sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) -
        ^
../fs/ext2/super.c:1074:2: note: previous statement is here
        if (EXT2_BLOCKS_PER_GROUP(sb) == 0)
        ^
1 warning generated.

This warning occurs because there is a space before the tab on this
line. Remove it so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

Fixes: 41f04d852e35 ("[PATCH] ext2: fix mounts at 16T")
Link: https://github.com/ClangBuiltLinux/linux/issues/827
Link: https://lore.kernel.org/r/20191218031930.31393-1-natechancellor@gmail.com
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
fs/ext2/super.c