Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / fs / ext3 / bitmap.c
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
14 unsigned 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