diff options
author | 2022-09-16 22:15:13 +0800 | |
---|---|---|
committer | 2022-09-30 23:46:52 -0400 | |
commit | a5fc51193507e10a0733c40282e71216dd0486ff (patch) | |
tree | ec1db1de49301959b8dbcb3efca993faed1f7f3c /scripts/generate_rust_analyzer.py | |
parent | ext4: goto right label 'failed_mount3a' (diff) | |
download | linux-dev-a5fc51193507e10a0733c40282e71216dd0486ff.tar.xz linux-dev-a5fc51193507e10a0733c40282e71216dd0486ff.zip |
ext4: remove cantfind_ext4 error handler
The 'cantfind_ext4' error handler is just a error msg print and then
goto failed_mount. This two level goto makes the code complex and not
easy to read. The only benefit is that is saves a little bit code.
However some branches can merge and some branches dot not even need it.
So do some refactor and remove it.
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-3-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions