]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: goto right label 'failed_mount3a'
authorJason Yan <yanaijie@huawei.com>
Fri, 16 Sep 2022 14:15:12 +0000 (22:15 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Oct 2022 03:46:52 +0000 (23:46 -0400)
commit7e6afe685be109455dde989e77ffc614feababcb
tree5508a179643e150e07d158aea26ac9778870aca8
parent140947ec3db400fe19e9e846ca1b7f61715b61c9
ext4: goto right label 'failed_mount3a'

Before these two branches neither loaded the journal nor created the
xattr cache. So the right label to goto is 'failed_mount3a'. Although
this did not cause any issues because the error handler validated if the
pointer is null. However this still made me confused when reading
the code. So it's still worth to modify to goto the right label.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220916141527.1012715-2-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c