diff options
| author | Guoqing Cai <u202112087@hust.edu.cn> | 2023-04-13 12:57:39 +0300 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2023-07-30 00:52:19 +0300 |
| commit | 1d40165047456923fa4343d519353d9440cd68df (patch) | |
| tree | 09ba7657102357d1bf960f27c67793ec02cfd2bb /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | bedc5d34632c21b5adb8ca7143d4c1f794507e4c (diff) | |
| download | linux-1d40165047456923fa4343d519353d9440cd68df.tar.xz | |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
