[PATCH] ext4: rename ext4 symbols to avoid duplication of ext3 symbols
Mingming Cao originally did this work, and Shaggy reproduced it using some scripts from her. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ac27a0ec11
commit
617ba13b31
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* linux/fs/ext3/bitmap.c
|
||||
* linux/fs/ext4/bitmap.c
|
||||
*
|
||||
* Copyright (C) 1992, 1993, 1994, 1995
|
||||
* Remy Card (card@masi.ibp.fr)
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
#include <linux/buffer_head.h>
|
||||
#include <linux/jbd.h>
|
||||
#include <linux/ext3_fs.h>
|
||||
#include <linux/ext4_fs.h>
|
||||
|
||||
#ifdef EXT3FS_DEBUG
|
||||
#ifdef EXT4FS_DEBUG
|
||||
|
||||
static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
|
||||
|
||||
unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
|
||||
unsigned long ext4_count_free (struct buffer_head * map, unsigned int numchars)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned long sum = 0;
|
||||
@@ -28,5 +28,5 @@ unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
|
||||
return (sum);
|
||||
}
|
||||
|
||||
#endif /* EXT3FS_DEBUG */
|
||||
#endif /* EXT4FS_DEBUG */
|
||||
|
||||
|
Reference in New Issue
Block a user