]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ext4/bitmap.c
xps: Transmit Packet Steering
[net-next-2.6.git] / fs / ext4 / bitmap.c
index 0a7a6663c190ef84181f6b114eeee16817cde1b6..fa3af81ac565c16dba6237edc89c3c7d70c5fc61 100644 (file)
 
 static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
 
-unsigned long ext4_count_free(struct buffer_head *map, unsigned int numchars)
+unsigned int ext4_count_free(struct buffer_head *map, unsigned int numchars)
 {
-       unsigned int i;
-       unsigned long sum = 0;
+       unsigned int i, sum = 0;
 
        if (!map)
                return 0;