https://jxself.org/git/linux-libre.git
Raw File
Tip revision: e8b3f1573fa3789552890e2fa28e7b2c2cb8856e authored by Jason Self on 18 September 2015, 07:27:22 UTC
Linux-libre 3.12.48-gnu
Tip revision: e8b3f15
bitmap.c
/*
 *  linux/fs/ext3/bitmap.c
 *
 * Copyright (C) 1992, 1993, 1994, 1995
 * Remy Card (card@masi.ibp.fr)
 * Laboratoire MASI - Institut Blaise Pascal
 * Universite Pierre et Marie Curie (Paris VI)
 */

#include "ext3.h"

#ifdef EXT3FS_DEBUG

unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
{
	return numchars * BITS_PER_BYTE - memweight(map->b_data, numchars);
}

#endif  /*  EXT3FS_DEBUG  */

back to top