diff options
| author | Jan Kara <[email protected]> | 2019-11-15 10:22:10 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-11-15 14:23:03 +0000 |
| commit | 3c845acd0237caef617f330a0e3b37ad8ae9fea5 (patch) | |
| tree | 463edd05db61fcd4305bb928bfb90086bd9c31be /net/unix/af_unix.c | |
| parent | ext4: fix a bug in ext4_wait_for_tail_page_commit (diff) | |
| download | kernel-3c845acd0237caef617f330a0e3b37ad8ae9fea5.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
