]> git.baikalelectronics.ru Git - kernel.git/commit
ext4, jbd2: Provide accessor function for handle credits
authorJan Kara <jack@suse.cz>
Tue, 5 Nov 2019 16:44:17 +0000 (17:44 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Nov 2019 21:00:48 +0000 (16:00 -0500)
commitef2c23aa787ebe939e1ae318956363a59ba93ebe
treee1c8c2ca02986fb433198e68a89137339be74e99
parentc2a13fcac881874335a97070d16715f2e56224e9
ext4, jbd2: Provide accessor function for handle credits

Provide accessor function to get number of credits available in a handle
and use it from ext4. Later, computation of available credits won't be
so straightforward.

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