aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2019-11-05 16:44:28 +0000
committerTheodore Ts'o <[email protected]>2019-11-05 21:00:49 +0000
commitd090707edab59cb07047d6d7e138ffcc3bdc42be (patch)
tree1730aa17f19012147cdd7839e641133f9ee32de7 /fs/jbd2/commit.c
parentjbd2: Rename h_buffer_credits to h_total_credits (diff)
downloadkernel-d090707edab59cb07047d6d7e138ffcc3bdc42be.tar.gz
kernel-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 <[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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions