diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-07-24 12:22:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 14:50:15 -0400 |
commit | f9247273cb69ba101877e946d2d83044409cc8c5 (patch) | |
tree | e173999eddfa9954550f221730feb8c03ebfc743 /fs/ufs/super.c | |
parent | b340e8a57ef381e69c99a7a8ede61a6bf71a8014 (diff) |
UFS: add const to parser token table
This patch adds a "const" to the parser token table. I've done an
allmodconfig build to see if this produces any warnings/failures and the
patch includes a fix for the only warning that was produced.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Alexander Viro <aviro@redhat.com>
Acked-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r-- | fs/ufs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 85b22b5977fa..506f724055c2 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -1232,7 +1232,7 @@ static int ufs_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
1232 | { | 1232 | { |
1233 | struct ufs_sb_info *sbi = UFS_SB(vfs->mnt_sb); | 1233 | struct ufs_sb_info *sbi = UFS_SB(vfs->mnt_sb); |
1234 | unsigned mval = sbi->s_mount_opt & UFS_MOUNT_UFSTYPE; | 1234 | unsigned mval = sbi->s_mount_opt & UFS_MOUNT_UFSTYPE; |
1235 | struct match_token *tp = tokens; | 1235 | const struct match_token *tp = tokens; |
1236 | 1236 | ||
1237 | while (tp->token != Opt_onerror_panic && tp->token != mval) | 1237 | while (tp->token != Opt_onerror_panic && tp->token != mval) |
1238 | ++tp; | 1238 | ++tp; |