]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Missing 'const' from reiserfs MIN_KEY declaration.
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 23 May 2007 20:57:52 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:13 +0000 (20:14 -0700)
In stree.c, MIN_KEY is declared const. The extern declaration in dir.c
doesn't match...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/dir.c

index 9c23fee3bae9b678d4d3cd6bbca538e07aa3599d..ffbfc2caaf2050990de21e5a4348a789fbd65c99 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/buffer_head.h>
 #include <asm/uaccess.h>
 
-extern struct reiserfs_key MIN_KEY;
+extern const struct reiserfs_key MIN_KEY;
 
 static int reiserfs_readdir(struct file *, void *, filldir_t);
 static int reiserfs_dir_fsync(struct file *filp, struct dentry *dentry,