Skip to contentSkip to conversation

ext4: delete invalid comments near ext4_mb_check_limits()

PATCH Applied brookxu 3 participants 3 messages Aug 7, 2020 – Aug 18, 2020 ext4 file system

lore
Share & tools
lore

brookxu

author
#0 lore raw

PATCH 1/1 ext4: delete invalid comments near ext4_mb_check_limits()

These comments do not seem to be related to ext4_mb_check_limits(), it may be invalid.

---
 fs/ext4/mballoc.c | 4 ----
 1 file changed, 4 deletions(-)
fs/ext4/mballoc.c +0 -4
index 577ce98..aaefeb4 100644
@@ -1743,10 +1743,6 @@ static void ext4_mb_use_best_found(struct ext4_allocation_context *ac,
 
 }
 
-/*
- * regular allocator, for general purposes allocation
- */
-
 static void ext4_mb_check_limits(struct ext4_allocation_context *ac,
 					struct ext4_buddy *e4b,
 					int finish_group)
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · brookxu

These comments do not seem to be related to ext4_mb_check_limits(), it may be invalid.

Either ways these comments are of no help and the
function has enough comments within.
So we should be good without it.

Quoted 20 lines
---
  fs/ext4/mballoc.c | 4 ----
  1 file changed, 4 deletions(-)
fs/ext4/mballoc.c +0 -4
index 577ce98..aaefeb4 100644
@@ -1743,10 +1743,6 @@ static void ext4_mb_use_best_found(struct ext4_allocation_context *ac,
 
  }
 
-/*
- * regular allocator, for general purposes allocation
- */
-
  static void ext4_mb_check_limits(struct ext4_allocation_context *ac,
  					struct ext4_buddy *e4b,
  					int finish_group)