Skip to contentSkip to conversation

mballoc: change comments to ac_g_ex

PATCH In review Coly Li 2 participants 2 messages Feb 6, 2011 – Feb 24, 2011 ext4 file system

lore
Share & tools
lore

Coly Li

author
#0 lore raw

PATCH 4/5 mballoc: change comments to ac_g_ex

Current comments to ac_g_ex, the member of struct
ext4_allocation_context is,

	/* goal request (after normalization) */
This is a little bit confused. In order to make it easier to be
understood, this patch modify the comments as,
	/* goal request (normalized ac_o_ex) */

which means ac_g_ex is a normalized value of ac_o_ex.

Cc Alex Tomas <[email protected]>
Cc Theodore Tso <[email protected]>
---
 fs/ext4/mballoc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ext4/mballoc.h +1 -1
index b619322..22bd4d7 100644
@@ -169,7 +169,7 @@ struct ext4_allocation_context {
 	/* original request */
 	struct ext4_free_extent ac_o_ex;
 
-	/* goal request (after normalization) */
+	/* goal request (normalized ac_o_ex) */
 	struct ext4_free_extent ac_g_ex;
 
 	/* the best found extent */
Signature · 1 line
1.7.3.4
maintainer
#1 lore raw
Quoted 11 lines · Coly Li

Current comments to ac_g_ex, the member of struct
ext4_allocation_context is,

	/* goal request (after normalization) */
This is a little bit confused. In order to make it easier to be
understood, this patch modify the comments as,
	/* goal request (normalized ac_o_ex) */

which means ac_g_ex is a normalized value of ac_o_ex.

Cc Alex Tomas <[email protected]>
Cc Theodore Tso <[email protected]>

Added to the ext4 patch queue, thanks.

I used a much simpler patch comment:

ext4: clarify description of ac_g_ex in struct ext4_allocation_context

Cc Alex Tomas <[email protected]>
Cc Theodore Tso <[email protected]>

- Ted