Skip to content
Commit 99017eb3 authored by Jason Yan's avatar Jason Yan Committed by Greg Kroah-Hartman
Browse files

ext4: goto right label 'failed_mount3a'

[ Upstream commit 43bd6f1b

 ]

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: default avatarJason Yan <yanaijie@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220916141527.1012715-2-yanaijie@huawei.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Stable-dep-of: 89481b5f

 ("ext4: correct inconsistent error msg in nojournal mode")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 56d87959
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