diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/affs/bitmap.c | 2 | ||||
-rw-r--r-- | fs/ext2/balloc.c | 2 | ||||
-rw-r--r-- | fs/ext3/bitmap.c | 2 | ||||
-rw-r--r-- | fs/ext4/bitmap.c | 2 | ||||
-rw-r--r-- | fs/minix/bitmap.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/fs/affs/bitmap.c b/fs/affs/bitmap.c index b330009fe42d..c4a5ad09ddf2 100644 --- a/fs/affs/bitmap.c +++ b/fs/affs/bitmap.c | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | /* This is, of course, shamelessly stolen from fs/minix */ | 12 | /* This is, of course, shamelessly stolen from fs/minix */ |
13 | 13 | ||
14 | static int nibblemap[] = { 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4 }; | 14 | static const int nibblemap[] = { 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4 }; |
15 | 15 | ||
16 | static u32 | 16 | static u32 |
17 | affs_count_free_bits(u32 blocksize, const void *data) | 17 | affs_count_free_bits(u32 blocksize, const void *data) |
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index 9157fcf887bc..834ad4c16e2d 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c | |||
@@ -522,7 +522,7 @@ io_error: | |||
522 | 522 | ||
523 | #ifdef EXT2FS_DEBUG | 523 | #ifdef EXT2FS_DEBUG |
524 | 524 | ||
525 | static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; | 525 | static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; |
526 | 526 | ||
527 | unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) | 527 | unsigned long ext2_count_free (struct buffer_head * map, unsigned int numchars) |
528 | { | 528 | { |
diff --git a/fs/ext3/bitmap.c b/fs/ext3/bitmap.c index b9176eed98d1..6afc39d80253 100644 --- a/fs/ext3/bitmap.c +++ b/fs/ext3/bitmap.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #ifdef EXT3FS_DEBUG | 14 | #ifdef EXT3FS_DEBUG |
15 | 15 | ||
16 | static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; | 16 | static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; |
17 | 17 | ||
18 | unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars) | 18 | unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars) |
19 | { | 19 | { |
diff --git a/fs/ext4/bitmap.c b/fs/ext4/bitmap.c index 11e93c169bcf..420554f8f79d 100644 --- a/fs/ext4/bitmap.c +++ b/fs/ext4/bitmap.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #ifdef EXT4FS_DEBUG | 14 | #ifdef EXT4FS_DEBUG |
15 | 15 | ||
16 | static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; | 16 | static const int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; |
17 | 17 | ||
18 | unsigned long ext4_count_free (struct buffer_head * map, unsigned int numchars) | 18 | unsigned long ext4_count_free (struct buffer_head * map, unsigned int numchars) |
19 | { | 19 | { |
diff --git a/fs/minix/bitmap.c b/fs/minix/bitmap.c index 99a12f127769..703cc35e04b9 100644 --- a/fs/minix/bitmap.c +++ b/fs/minix/bitmap.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
19 | 19 | ||
20 | static int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 }; | 20 | static const int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 }; |
21 | 21 | ||
22 | static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits) | 22 | static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits) |
23 | { | 23 | { |