aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2023-08-11 14:36:10 +0800
committerTheodore Ts'o <[email protected]>2023-08-27 11:13:39 -0400
commitee5c807137ce283acebd83297f8855428cdd839a (patch)
tree378afe9de8f678b082d6d00d7b5263ce37f8a430 /lib/test_fortify/write_overflow-strncpy-src.c
parentbc74e6a38d16d745a9bc28a7e343494019066492 (diff)
ext4: ext4_get_{dev}_journal return proper error value
ext4_get_journal() and ext4_get_dev_journal() return NULL if they failed to init journal, making them return proper error value instead, also rename them to ext4_open_{inode,dev}_journal(). [ Folded fix to ext4_calculate_overhead() to check for an ERR_PTR instead of NULL. ] Signed-off-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reported-by: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions