From: David Woodhouse Date: Wed, 23 May 2007 20:57:52 +0000 (-0700) Subject: Missing 'const' from reiserfs MIN_KEY declaration. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a1b63914815e4223ceb3d079286e18f9ee92b4b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 9c23fee3bae9..ffbfc2caaf20 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,