Andreas Gruenbacher b66f723bb5 gfs2: Improve gfs2_make_fs_rw error handling
In gfs2_make_fs_rw(), make sure to call gfs2_consist() to report an
inconsistency and mark the filesystem as withdrawn when
gfs2_find_jhead() fails.

At the end of gfs2_make_fs_rw(), when we discover that the filesystem
has been withdrawn, make sure we report an error.  This also replaces
the gfs2_withdrawn() check after gfs2_find_jhead().

Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: syzbot+f51cb4b9afbd87ec06f2@syzkaller.appspotmail.com
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2023-01-31 22:40:24 +01:00
..
2022-10-19 12:55:42 +02:00
2022-10-19 12:55:42 +02:00
2019-07-03 14:45:18 +02:00
2023-01-18 10:44:05 -08:00
2021-06-29 10:56:51 +02:00
2022-08-06 14:44:49 -07:00
2023-01-31 22:40:24 +01:00
2023-01-31 22:40:24 +01:00
2023-01-31 22:40:24 +01:00
2023-01-27 15:55:48 +01:00
2022-05-09 23:12:33 -04:00
2022-08-03 10:35:43 -07:00
2023-01-31 22:40:24 +01:00
2022-09-11 20:26:06 -07:00