aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Jianchao <[email protected]>2021-07-24 15:41:22 +0800
committerTheodore Ts'o <[email protected]>2021-08-12 13:11:26 -0400
commitb6f5558c304a17d4dfad096da980de6e222a462a (patch)
tree55cd5269fbee7d3d53415464514575c8c4913642
parent6920b3913235f517728bb69abe9b39047a987113 (diff)
ext4: remove the repeated comment of ext4_trim_all_free
Reviewed-by: Andreas Dilger <[email protected]> Signed-off-by: Wang Jianchao <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
-rw-r--r--fs/ext4/mballoc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index e3844152a643..34be2f07449d 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,