summaryrefslogtreecommitdiff
path: root/fs/ext4/sysfs.c
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2021-06-10 19:24:38 +0800
committerTheodore Ts'o <tytso@mit.edu>2021-06-24 10:55:39 -0400
commitdbf2bab7935b65689f3b39178cf87374f0334ead (patch)
tree1975c64304f91218aeb3f68bb9a76496e5288238 /fs/ext4/sysfs.c
parent4ba3fcdde7e36af93610ceb3cc38365b14539865 (diff)
downloadlinux-dbf2bab7935b65689f3b39178cf87374f0334ead.tar.gz
linux-dbf2bab7935b65689f3b39178cf87374f0334ead.tar.bz2
linux-dbf2bab7935b65689f3b39178cf87374f0334ead.zip
jbd2: simplify journal_clean_one_cp_list()
Now that __try_to_free_cp_buf() remove checkpointed buffer or transaction when the buffer is not 'busy', which is only called by journal_clean_one_cp_list(). This patch simplify this function by remove __try_to_free_cp_buf() and invoke __cp_buffer_busy() directly. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20210610112440.3438139-7-yi.zhang@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/sysfs.c')
0 files changed, 0 insertions, 0 deletions