diff options
author | Guoqing Cai <[email protected]> | 2023-04-13 17:57:39 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-07-29 17:52:19 -0400 |
commit | 1d40165047456923fa4343d519353d9440cd68df (patch) | |
tree | 09ba7657102357d1bf960f27c67793ec02cfd2bb /net/lapb/lapb_iface.c | |
parent | bedc5d34632c21b5adb8ca7143d4c1f794507e4c (diff) |
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 <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions