summaryrefslogtreecommitdiff
path: root/fs/ufs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-08-04 16:50:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-04 16:50:38 -0700
commit1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6 (patch)
treec08708cd17f163f18c149133c92551f83249fd98 /fs/ufs
parentfca082c9f1e11ec07efa8d2f9f13688521253f36 (diff)
downloadlinux-3.10-1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6.tar.gz
linux-3.10-1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6.tar.bz2
linux-3.10-1a3f7d98e5f50f21ce6fb1406a35531d9596c5c6.zip
Revert "UFS: add const to parser token table"
This reverts commit f9247273cb69ba101877e946d2d83044409cc8c5 (and fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43 - "fix fs/nfs/nfsroot.c compilation" - that fixed a missed conversion). The changes cause problems for at least the sparc build. Let's re-do them when the exact issues are resolved. Requested-by: Andrew Morton <akpm@linux-foundation.org> Requested-by: Steven Whitehouse <swhiteho@redhat.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs')
-rw-r--r--fs/ufs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index 3e30e40aa24..3141969b456 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;