]> www.infradead.org Git - linux.git/commit
jbd2: use shrink_type type instead of bool type for __jbd2_journal_clean_checkpoint_l...
authorYe Bin <yebin10@huawei.com>
Sun, 7 Apr 2024 06:53:54 +0000 (14:53 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 May 2024 14:52:31 +0000 (10:52 -0400)
commit078760d950016f5982751f5512e69f26ad8feb31
tree290ef513133c519a9c198340988bede8cc5e24ad
parentb4b4fda34e535756f9e774fb2d09c4537b7dfd1c
jbd2: use shrink_type type instead of bool type for __jbd2_journal_clean_checkpoint_list()

"enum shrink_type" can clearly express the meaning of the parameter of
__jbd2_journal_clean_checkpoint_list(), and there is no need to use the
bool type.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20240407065355.1528580-2-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/checkpoint.c
fs/jbd2/commit.c
include/linux/jbd2.h