Patchwork ext4: Remove ac_repeats from ext4_allocation_context.

login
register
mail settings
Submitter Tao Ma
Date July 17, 2011, 3:11 p.m.
Message ID <1310915483-2906-3-git-send-email-tm@tao.ma>
Download mbox | patch
Permalink /patch/105073/
State Accepted
Headers show

Comments

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

ac_repeats isn't referenced in the mballoc code. So remove it.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
---
 fs/ext4/mballoc.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Theodore Ts'o - July 23, 2011, 8:20 p.m.
On Sun, Jul 17, 2011 at 11:11:23PM +0800, Tao Ma wrote:
> From: Tao Ma <boyu.mt@taobao.com>
> 
> ac_repeats isn't referenced in the mballoc code. So remove it.
> 
> Signed-off-by: Tao Ma <boyu.mt@taobao.com>

Thanks, added to the ext4 tree.

					- 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.h b/fs/ext4/mballoc.h
index 20b5e7b..9d4a636 100644
--- a/fs/ext4/mballoc.h
+++ b/fs/ext4/mballoc.h
@@ -187,7 +187,6 @@  struct ext4_allocation_context {
 	__u16 ac_flags;		/* allocation hints */
 	__u8 ac_status;
 	__u8 ac_criteria;
-	__u8 ac_repeats;
 	__u8 ac_2order;		/* if request is to allocate 2^N blocks and
 				 * N > 0, the field stores N, otherwise 0 */
 	__u8 ac_op;		/* operation, for history only */