16 Jul 2012 08:52
linux-next: manual merge of the akpm tree with the ext4 tree
Stephen Rothwell <sfr <at> canb.auug.org.au>
2012-07-16 06:52:27 GMT
2012-07-16 06:52:27 GMT
Hi Andrew,
Today's linux-next merge of the akpm tree got a conflict in
fs/ext4/bitmap.c between commit f6fb99cadcd4 ("ext4: pass a char * to
ext4_count_free() instead of a buffer_head ptr") from the ext4 tree and
commit "ext4: use memweight()" from the akpm tree.
I fixed it up (I hope - see below) and can carry the fix as necessary.
N.B. this code is now used by more that just the EXT4FS_DEBUG code.
--
Cheers,
Stephen Rothwell sfr <at> canb.auug.org.au
diff --cc fs/ext4/bitmap.c
index a94b9c6,ff53d5d..0000000
--- a/fs/ext4/bitmap.c
+++ b/fs/ext4/bitmap.c
<at> <at> <at> -11,18 -11,15 +11,11 <at> <at> <at>
#include <linux/jbd2.h>
#include "ext4.h"
- static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
-
-#ifdef EXT4FS_DEBUG
-
-unsigned int ext4_count_free(struct buffer_head *map, unsigned int numchars)
+unsigned int ext4_count_free(char *bitmap, unsigned int numchars)
{
- unsigned int i, sum = 0;
(Continue reading)
RSS Feed