Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17681
b: refs/heads/master
c: 4610a6b
h: refs/heads/master
i:
  17679: 365a662
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 10, 2006
1 parent d505d3a commit 3f36fb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0aa7d0639277f375989071fb52a7ce78beeef97
refs/heads/master: 4610a6bea7742ab34e40dcb776bd3feb52da10d6
7 changes: 7 additions & 0 deletions trunk/fs/ext2/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 */

0 comments on commit 3f36fb8

Please sign in to comment.