From: Wang Jianchao Date: Sat, 24 Jul 2021 07:41:22 +0000 (+0800) Subject: ext4: remove the repeated comment of ext4_trim_all_free X-Git-Tag: accepted/tizen/unified/20230118.172025~6232^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6f5558c304a17d4dfad096da980de6e222a462a;p=platform%2Fkernel%2Flinux-rpi.git ext4: remove the repeated comment of ext4_trim_all_free Reviewed-by: Andreas Dilger Signed-off-by: Wang Jianchao Reviewed-by: Jan Kara Link: https://lore.kernel.org/r/20210724074124.25731-4-jianchao.wan9@gmail.com Signed-off-by: Theodore Ts'o --- diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index e384415..34be2f0 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -6274,15 +6274,10 @@ static int ext4_try_to_trim_range(struct super_block *sb, * @max: last group block to examine * @minblocks: minimum extent block count * - * ext4_trim_all_free walks through group's buddy bitmap searching for free - * extents. When the free block is found, ext4_trim_extent is called to TRIM - * the extent. - * - * * ext4_trim_all_free walks through group's block bitmap searching for free * extents. When the free extent is found, mark it as used in group buddy * bitmap. Then issue a TRIM command on this extent and free the extent in - * the group buddy bitmap. This is done until whole group is scanned. + * the group buddy bitmap. */ static ext4_grpblk_t ext4_trim_all_free(struct super_block *sb, ext4_group_t group,