From febfcf9115917ba80931dbf9f36d8d413698b628 Mon Sep 17 00:00:00 2001 From: Philippe De Muyter Date: Tue, 16 Oct 2007 23:26:15 -0700 Subject: fs: mark nibblemap const Signed-off-by: Philippe De Muyter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/ext2/balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/ext2') 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) { -- cgit v1.2.3