Home
last modified time | relevance | path

Searched hist:b66f723b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dsuper.cb66f723b Tue Jan 31 08:06:53 CST 2023 Andreas Gruenbacher <agruenba@redhat.com> 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>