Commit 761f88f
ext4: goto right label 'failed_mount3a'
[ Upstream commit 43bd6f1 ]
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>
Stable-dep-of: 89481b5 ("ext4: correct inconsistent error msg in nojournal mode")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent eb16602 commit 761f88f
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4664 | 4664 | | |
4665 | 4665 | | |
4666 | 4666 | | |
4667 | | - | |
| 4667 | + | |
4668 | 4668 | | |
4669 | 4669 | | |
4670 | 4670 | | |
4671 | 4671 | | |
4672 | 4672 | | |
4673 | | - | |
| 4673 | + | |
4674 | 4674 | | |
4675 | 4675 | | |
4676 | 4676 | | |
4677 | 4677 | | |
4678 | | - | |
| 4678 | + | |
4679 | 4679 | | |
4680 | 4680 | | |
4681 | 4681 | | |
4682 | 4682 | | |
4683 | 4683 | | |
4684 | | - | |
| 4684 | + | |
4685 | 4685 | | |
4686 | 4686 | | |
4687 | 4687 | | |
4688 | 4688 | | |
4689 | 4689 | | |
4690 | | - | |
| 4690 | + | |
4691 | 4691 | | |
4692 | 4692 | | |
4693 | 4693 | | |
| |||
0 commit comments