https://github.com/torvalds/linux
Raw File
Tip revision: 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 authored by Linus Torvalds on 12 January 2014, 10:04:18 UTC
Linux 3.13-rc8
Tip revision: 7e22e91
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