]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext4/bitmap.c
Fix nfsd truncation of readdir results
[linux-2.6-omap-h63xx.git] / fs / ext4 / bitmap.c
index 420554f8f79d8f4fb4a99a95bec9539e6c78f8bc..0a7a6663c190ef84181f6b114eeee16817cde1b6 100644 (file)
@@ -9,23 +9,23 @@
 
 #include <linux/buffer_head.h>
 #include <linux/jbd2.h>
-#include <linux/ext4_fs.h>
+#include "ext4.h"
 
 #ifdef EXT4FS_DEBUG
 
 static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
 
-unsigned long ext4_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;
 
        if (!map)
-               return (0);
+               return 0;
        for (i = 0; i < numchars; i++)
                sum += nibblemap[map->b_data[i] & 0xf] +
                        nibblemap[(map->b_data[i] >> 4) & 0xf];
-       return (sum);
+       return sum;
 }
 
 #endif  /*  EXT4FS_DEBUG  */