jbd2: Rename h_buffer_credits to h_total_credits
commit933f1c1e0b75bbc29730eef07c9e196c6dfd37e5
authorJan Kara <jack@suse.cz>
Tue, 5 Nov 2019 16:44:27 +0000 (5 17:44 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Nov 2019 21:00:48 +0000 (5 16:00 -0500)
tree5f951b8a02786f2babb352fc469f0e88190f9d5e
parentfdc3ef882a5d59c1709a13b5486ae2b1632e12b6
jbd2: Rename h_buffer_credits to h_total_credits

The credit counter now contains both buffer and revoke descriptor block
credits. Rename to counter to h_total_credits to reflect that. No
functional change.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-21-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/transaction.c
include/linux/jbd2.h