diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-31 16:51:56 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-31 16:51:56 +1000 |
commit | 283af7d63637c55611be28d92bad44585c335edf (patch) | |
tree | d9713eeef0031cfcd845ddd9a0812ad4532df230 | |
parent | 2982340d4d52fd8efc793950266aba986b2d057d (diff) |
Revert "UFS: add const to parser token table"
This reverts commit f9247273cb69ba101877e946d2d83044409cc8c5.
-rw-r--r-- | fs/ufs/super.c | 2 | ||||
-rw-r--r-- | include/linux/parser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 3e30e40aa24d..3141969b456d 100644 --- a/fs/ufs/super.c +++ b/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/include/linux/parser.h b/include/linux/parser.h index cc554ca8bc78..7dcd05075756 100644 --- a/include/linux/parser.h +++ b/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}; |