aboutsummaryrefslogtreecommitdiffstats
path: root/fs/minix
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-10-17 02:26:15 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:47 -0400
commitfebfcf9115917ba80931dbf9f36d8d413698b628 (patch)
tree64a690982354475f4e53c0cb89083e1bfa5231f8 /fs/minix
parent55ca3e796d452d1fd213846ae6ce8bc4d37b54cc (diff)
fs: mark nibblemap const
Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/minix')
-rw-r--r--fs/minix/bitmap.c2
1 files changed, 1 insertions, 1 deletions
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
20static int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 }; 20static const int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 };
21 21
22static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits) 22static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits)
23{ 23{