Patchwork [5/5] ext4: Change the wrong param comment for ext4_trim_all_free.

login
register
mail settings
Submitter Tao Ma
Date July 1, 2011, 3:27 p.m.
Message ID <1309534076-2784-5-git-send-email-tm@tao.ma>
Download mbox | patch
Permalink /patch/102919/
State Accepted
Headers show

Comments

Tao Ma - July 1, 2011, 3:27 p.m.
From: Tao Ma <boyu.mt@taobao.com>

at ext4_trim_all_free() comment, there is no longer an @e4b parameter,
instead it is @group.

Reported-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
---
 fs/ext4/mballoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Theodore Ts'o - July 11, 2011, 4:07 a.m.
On Fri, Jul 01, 2011 at 11:27:56PM +0800, Tao Ma wrote:
> From: Tao Ma <boyu.mt@taobao.com>
> 
> at ext4_trim_all_free() comment, there is no longer an @e4b parameter,
> instead it is @group.
> 
> Reported-by: Andreas Dilger <adilger@dilger.ca>
> Signed-off-by: Tao Ma <boyu.mt@taobao.com>

Added to the ext4 tree, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index cecc304..9a35263 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4813,7 +4813,7 @@  static void ext4_trim_extent(struct super_block *sb, int start, int count,
 /**
  * ext4_trim_all_free -- function to trim all free space in alloc. group
  * @sb:			super block for file system
- * @e4b:		ext4 buddy
+ * @group:		group to be trimmed
  * @start:		first group block to examine
  * @max:		last group block to examine
  * @minblocks:		minimum extent block count