https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 90951a848b1a614f5b282df7a436238a551c7875 authored by Jason Self on 29 June 2015, 19:08:49 UTC
Linux-libre 3.10.82-gnu
Tip revision: 90951a8
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