summaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-10-17 08:26:15 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:47 +0200
commitfebfcf9115917ba80931dbf9f36d8d413698b628 (patch)
tree64a690982354475f4e53c0cb89083e1bfa5231f8 /fs/affs
parentfs/romfs/inode.c: trivial improvements (diff)
downloadlinux-febfcf9115917ba80931dbf9f36d8d413698b628.tar.xz
linux-febfcf9115917ba80931dbf9f36d8d413698b628.zip
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/affs')
-rw-r--r--fs/affs/bitmap.c2
1 files changed, 1 insertions, 1 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 @@
/* This is, of course, shamelessly stolen from fs/minix */
-static int nibblemap[] = { 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4 };
+static const int nibblemap[] = { 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4 };
static u32
affs_count_free_bits(u32 blocksize, const void *data)