1/*
2 *  linux/fs/ext3/bitmap.c
3 *
4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr)
6 * Laboratoire MASI - Institut Blaise Pascal
7 * Universite Pierre et Marie Curie (Paris VI)
8 */
9
10#include "ext3.h"
11
12#ifdef EXT3FS_DEBUG
13
14unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
15{
16	return numchars * BITS_PER_BYTE - memweight(map->b_data, numchars);
17}
18
19#endif  /*  EXT3FS_DEBUG  */
20
21