diff options
author | Jan Kara <[email protected]> | 2019-11-15 11:22:10 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2019-11-15 09:23:03 -0500 |
commit | 3c845acd0237caef617f330a0e3b37ad8ae9fea5 (patch) | |
tree | 463edd05db61fcd4305bb928bfb90086bd9c31be /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 565333a1554d704789e74205989305c811fd9c7a (diff) |
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 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions