From 8e23d9c5598f85957e5c86a2bce9d946e0d4a9b8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 4 Aug 2008 16:50:38 -0700 Subject: [PATCH] --- yaml --- r: 107548 b: refs/heads/master c: 1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfsroot.c | 2 +- trunk/fs/ufs/super.c | 2 +- trunk/include/linux/parser.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 975b7c113cac..2849f9cf4ea6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fca082c9f1e11ec07efa8d2f9f13688521253f36 +refs/heads/master: 1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6 diff --git a/trunk/fs/nfs/nfsroot.c b/trunk/fs/nfs/nfsroot.c index 8478fc25daee..46763d1cd397 100644 --- a/trunk/fs/nfs/nfsroot.c +++ b/trunk/fs/nfs/nfsroot.c @@ -127,7 +127,7 @@ enum { Opt_err }; -static match_table_t __initconst tokens = { +static match_table_t __initdata tokens = { {Opt_port, "port=%u"}, {Opt_rsize, "rsize=%u"}, {Opt_wsize, "wsize=%u"}, diff --git a/trunk/fs/ufs/super.c b/trunk/fs/ufs/super.c index 3e30e40aa24d..3141969b456d 100644 --- a/trunk/fs/ufs/super.c +++ b/trunk/fs/ufs/super.c @@ -1233,7 +1233,7 @@ static int ufs_show_options(struct seq_file *seq, struct vfsmount *vfs) { struct ufs_sb_info *sbi = UFS_SB(vfs->mnt_sb); unsigned mval = sbi->s_mount_opt & UFS_MOUNT_UFSTYPE; - const struct match_token *tp = tokens; + struct match_token *tp = tokens; while (tp->token != Opt_onerror_panic && tp->token != mval) ++tp; diff --git a/trunk/include/linux/parser.h b/trunk/include/linux/parser.h index cc554ca8bc78..7dcd05075756 100644 --- a/trunk/include/linux/parser.h +++ b/trunk/include/linux/parser.h @@ -14,7 +14,7 @@ struct match_token { const char *pattern; }; -typedef const struct match_token match_table_t[]; +typedef struct match_token match_table_t[]; /* Maximum number of arguments that match_token will find in a pattern */ enum {MAX_OPT_ARGS = 3};