diff options
Diffstat (limited to 'fs/befs/linuxvfs.c')
| -rw-r--r-- | fs/befs/linuxvfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 740f53672a8a..b6dfee37c7b7 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
| @@ -650,7 +650,7 @@ enum { | |||
| 650 | Opt_uid, Opt_gid, Opt_charset, Opt_debug, Opt_err, | 650 | Opt_uid, Opt_gid, Opt_charset, Opt_debug, Opt_err, |
| 651 | }; | 651 | }; |
| 652 | 652 | ||
| 653 | static match_table_t befs_tokens = { | 653 | static const match_table_t befs_tokens = { |
| 654 | {Opt_uid, "uid=%d"}, | 654 | {Opt_uid, "uid=%d"}, |
| 655 | {Opt_gid, "gid=%d"}, | 655 | {Opt_gid, "gid=%d"}, |
| 656 | {Opt_charset, "iocharset=%s"}, | 656 | {Opt_charset, "iocharset=%s"}, |
| @@ -809,8 +809,8 @@ befs_fill_super(struct super_block *sb, void *data, int silent) | |||
| 809 | 809 | ||
| 810 | /* account for offset of super block on x86 */ | 810 | /* account for offset of super block on x86 */ |
| 811 | disk_sb = (befs_super_block *) bh->b_data; | 811 | disk_sb = (befs_super_block *) bh->b_data; |
| 812 | if ((le32_to_cpu(disk_sb->magic1) == BEFS_SUPER_MAGIC1) || | 812 | if ((disk_sb->magic1 == BEFS_SUPER_MAGIC1_LE) || |
| 813 | (be32_to_cpu(disk_sb->magic1) == BEFS_SUPER_MAGIC1)) { | 813 | (disk_sb->magic1 == BEFS_SUPER_MAGIC1_BE)) { |
| 814 | befs_debug(sb, "Using PPC superblock location"); | 814 | befs_debug(sb, "Using PPC superblock location"); |
| 815 | } else { | 815 | } else { |
| 816 | befs_debug(sb, "Using x86 superblock location"); | 816 | befs_debug(sb, "Using x86 superblock location"); |
