2008-02-22 01:40:49

by Mingming Cao

[permalink] [raw]
Subject: [PATCH] ext4: remove extra defination of ext4_new_blocks_old()

ext4_new_blocks_old() is already externed in ext4_fs.h, remove the extra
define from mballoc.c. Trivial cleanup, but this cause extra maintain work
if later we need to modify this function.

Signed-off-by: Mingming Cao <[email protected]>
---
fs/ext4/mballoc.c | 2 --
1 file changed, 2 deletions(-)

Index: linux-2.6.25-rc2/fs/ext4/mballoc.c
===================================================================
--- linux-2.6.25-rc2.orig/fs/ext4/mballoc.c 2008-02-21 17:23:26.000000000 -0800
+++ linux-2.6.25-rc2/fs/ext4/mballoc.c 2008-02-21 17:23:54.000000000 -0800
@@ -576,8 +576,6 @@ static void ext4_mb_store_history(struct

static struct proc_dir_entry *proc_root_ext4;
struct buffer_head *read_block_bitmap(struct super_block *, ext4_group_t);
-ext4_fsblk_t ext4_new_blocks_old(handle_t *handle, struct inode *inode,
- ext4_fsblk_t goal, unsigned long *count, int *errp);

static void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap,
ext4_group_t group);