aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-11-15 11:22:10 +0100
committerTheodore Ts'o <tytso@mit.edu>2019-11-15 09:23:03 -0500
commit3c845acd0237caef617f330a0e3b37ad8ae9fea5 (patch)
tree463edd05db61fcd4305bb928bfb90086bd9c31be /fs/ext4
parentext4: fix a bug in ext4_wait_for_tail_page_commit (diff)
downloadlinux-dev-3c845acd0237caef617f330a0e3b37ad8ae9fea5.tar.xz
linux-dev-3c845acd0237caef617f330a0e3b37ad8ae9fea5.zip
jbd2: make jbd2_handle_buffer_credits() handle reserved handles
The helper jbd2_handle_buffer_credits() doesn't correctly handle reserved handles which can lead to crashes. Fix it getting of journal pointer to work for reserved handles as well. Fixes: a9a8344ee171 ("ext4, jbd2: Provide accessor function for handle credits") Reported-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20191115102210.29445-1-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions