You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Revert "UFS: add const to parser token table"
This reverts commitf9247273cb(andfb2e405fc1- "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>
This commit is contained in:
+1
-1
@@ -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"},
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user