summary refs log tree commit diff
path: root/.clang-format
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2023-06-06 21:59:25 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-30 16:10:58 +0200
commit5fda50e262e65bd553ff777c4b280afd1495a18b (patch)
treefb88bf6134a5275ff115853ffeb3d05e9c72ec97 /.clang-format
parent8168c96c24ecfe0265c295aa4d969b4b650f00d3 (diff)
downloadlinux-5fda50e262e65bd553ff777c4b280afd1495a18b.tar.gz
jbd2: remove journal_clean_one_cp_list()
[ Upstream commit b98dba273a0e47dbfade89c9af73c5b012a4eabb ]

journal_clean_one_cp_list() and journal_shrink_one_cp_list() are almost
the same, so merge them into journal_shrink_one_cp_list(), remove the
nr_to_scan parameter, always scan and try to free the whole checkpoint
list.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230606135928.434610-4-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: 46f881b5b175 ("jbd2: fix a race when checking checkpoint buffer busy")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions