summaryrefslogtreecommitdiff
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@linux.ibm.com>2022-01-17 15:11:49 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-02-03 18:57:30 +0300
commitcdce59a1549190b66f8e3fe465c2b2f714b98a94 (patch)
tree17aaf70e4232357512cacbea8ff9b74cd51decb9 /include/linux/jbd2.h
parent09355d9d038a1590ee055831a4ad3a79952cfa8b (diff)
downloadlinux-cdce59a1549190b66f8e3fe465c2b2f714b98a94.tar.xz
ext4: fix error handling in ext4_fc_record_modified_inode()
Current code does not fully takes care of krealloc() error case, which could lead to silent memory corruption or a kernel bug. This patch fixes that. Also it cleans up some duplicated error handling logic from various functions in fast_commit.c file. Reported-by: luo penghao <luo.penghao@zte.com.cn> Suggested-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/62e8b6a1cce9359682051deb736a3c0953c9d1e9.1642416995.git.riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to 'include/linux/jbd2.h')
0 files changed, 0 insertions, 0 deletions