diff options
author | Jan Kara <jack@suse.cz> | 2019-11-05 17:44:28 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-11-05 22:00:49 +0100 |
commit | d090707edab59cb07047d6d7e138ffcc3bdc42be (patch) | |
tree | 1730aa17f19012147cdd7839e641133f9ee32de7 /Documentation/input | |
parent | jbd2: Rename h_buffer_credits to h_total_credits (diff) | |
download | linux-d090707edab59cb07047d6d7e138ffcc3bdc42be.tar.xz linux-d090707edab59cb07047d6d7e138ffcc3bdc42be.zip |
jbd2: Make credit checking more strict
Make checking of available credits in jbd2_journal_dirty_metadata() more
strict. There should be always enough credits in the handle to write all
potential revoke descriptors. Also we warn in case there are not enough
credits since this is a bug in the filesystem.
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-22-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'Documentation/input')
0 files changed, 0 insertions, 0 deletions