projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
[platform/kernel/linux-starfive.git]
/
fs
/
ext4
/
bitmap.c
diff --git
a/fs/ext4/bitmap.c
b/fs/ext4/bitmap.c
index
0a7a666
..
fa3af81
100644
(file)
--- a/
fs/ext4/bitmap.c
+++ b/
fs/ext4/bitmap.c
@@
-15,10
+15,9
@@
static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
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;
if (!map)
return 0;