aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2023-01-31 15:06:53 +0100
committerAndreas Gruenbacher <[email protected]>2023-01-31 22:40:24 +0100
commitb66f723bb552ad59c2acb5d45ea45c890f84498b (patch)
treee0c9c8bb2004671f0f0f7f26e140bd4320cde87d /lib/test_fortify/write_overflow-strncpy-src.c
parent445cb1277e10d7e19b631ef8a64aa3f055df377d (diff)
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 <[email protected]> Cc: [email protected] Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions