Loading fs/ext2/bitmap.c +7 −0 Original line number Diff line number Diff line Loading @@ -7,8 +7,12 @@ * Universite Pierre et Marie Curie (Paris VI) */ #ifdef EXT2FS_DEBUG #include <linux/buffer_head.h> #include "ext2.h" static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) Loading @@ -23,3 +27,6 @@ unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) nibblemap[(map->b_data[i] >> 4) & 0xf]; return (sum); } #endif /* EXT2FS_DEBUG */ Loading
fs/ext2/bitmap.c +7 −0 Original line number Diff line number Diff line Loading @@ -7,8 +7,12 @@ * Universite Pierre et Marie Curie (Paris VI) */ #ifdef EXT2FS_DEBUG #include <linux/buffer_head.h> #include "ext2.h" static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) Loading @@ -23,3 +27,6 @@ unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) nibblemap[(map->b_data[i] >> 4) & 0xf]; return (sum); } #endif /* EXT2FS_DEBUG */