summaryrefslogtreecommitdiff
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-10-16 23:26:15 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:47 -0700
commitfebfcf9115917ba80931dbf9f36d8d413698b628 (patch)
tree64a690982354475f4e53c0cb89083e1bfa5231f8 /fs/ext2/balloc.c
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/ext2/balloc.c')
-rw-r--r--fs/ext2/balloc.c2
1 files changed, 1 insertions, 1 deletions
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:
#ifdef EXT2FS_DEBUG
-static 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 ext2_count_free (struct buffer_head * map, unsigned int numchars)
{