From: David Woodhouse Date: Wed, 23 May 2007 20:57:52 +0000 (-0700) Subject: Missing 'const' from reiserfs MIN_KEY declaration. X-Git-Tag: v2.6.22-rc3~54 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1b63914815e4223ceb3d079286e18f9ee92b4b;p=linux-2.6 Missing 'const' from reiserfs MIN_KEY declaration. In stree.c, MIN_KEY is declared const. The extern declaration in dir.c doesn't match... Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/reiserfs/dir.c b/fs/reiserfs/dir.c index 9c23fee3ba..ffbfc2caaf 100644 --- a/fs/reiserfs/dir.c +++ b/fs/reiserfs/dir.c @@ -10,7 +10,7 @@ #include #include -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,