diff options
author | 2023-04-13 17:57:39 +0800 | |
---|---|---|
committer | 2023-07-29 17:52:19 -0400 | |
commit | 1d40165047456923fa4343d519353d9440cd68df (patch) | |
tree | 09ba7657102357d1bf960f27c67793ec02cfd2bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: avoid overlapping preallocations due to overflow (diff) | |
download | wireguard-linux-1d40165047456923fa4343d519353d9440cd68df.tar.xz wireguard-linux-1d40165047456923fa4343d519353d9440cd68df.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions