]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - fs/ext3/bitmap.c
Merge tag 'md-3.8' of git://neil.brown.name/md
[mirror_ubuntu-bionic-kernel.git] / fs / ext3 / bitmap.c
CommitLineData
1da177e4
LT
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
4613ad18 10#include "ext3.h"
3af13763 11
c1f5a194 12#ifdef EXT3FS_DEBUG
1da177e4 13
1da177e4
LT
14unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
15{
10d47084 16 return numchars * BITS_PER_BYTE - memweight(map->b_data, numchars);
1da177e4 17}
3af13763
AB
18
19#endif /* EXT3FS_DEBUG */
20