linux/fs/jbd2
Guoqing Cai 1d40165047 fs: jbd2: fix an incorrect warn log
In jbd2_journal_load(), when journal_reset fails, it prints an incorrect
warn log.

Fix this by changing the goto statement to return statement.

Also, return actual error code from jbd2_journal_recover() and journal_reset().

Signed-off-by: Guoqing Cai <u202112087@hust.edu.cn>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230413095740.2222066-1-u202112087@hust.edu.cn
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2023-07-29 17:52:19 -04:00
..
checkpoint.c jbd2: fix a race when checking checkpoint buffer busy 2023-07-10 23:09:21 -04:00
commit.c jbd2: remove t_checkpoint_io_list 2023-07-10 23:09:21 -04:00
journal.c fs: jbd2: fix an incorrect warn log 2023-07-29 17:52:19 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
recovery.c jbd2: continue to record log between each mount 2023-06-26 19:35:13 -04:00
revoke.c jbd2: rename jbd_debug() to jbd2_debug() 2022-08-02 23:52:19 -04:00
transaction.c jbd2: remove __journal_try_to_free_buffer() 2023-07-10 23:09:21 -04:00