diff options
Diffstat (limited to 'fs/squashfs/super.c')
| -rw-r--r-- | fs/squashfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index cf01e15a7b16..8a73b97217c8 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c | |||
| @@ -195,7 +195,7 @@ static int squashfs_fill_super(struct super_block *sb, void *data, int silent) | |||
| 195 | (u64) le64_to_cpu(sblk->id_table_start)); | 195 | (u64) le64_to_cpu(sblk->id_table_start)); |
| 196 | 196 | ||
| 197 | sb->s_maxbytes = MAX_LFS_FILESIZE; | 197 | sb->s_maxbytes = MAX_LFS_FILESIZE; |
| 198 | sb->s_flags |= MS_RDONLY; | 198 | sb->s_flags |= SB_RDONLY; |
| 199 | sb->s_op = &squashfs_super_ops; | 199 | sb->s_op = &squashfs_super_ops; |
| 200 | 200 | ||
| 201 | err = -ENOMEM; | 201 | err = -ENOMEM; |
| @@ -373,7 +373,7 @@ static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
| 373 | static int squashfs_remount(struct super_block *sb, int *flags, char *data) | 373 | static int squashfs_remount(struct super_block *sb, int *flags, char *data) |
| 374 | { | 374 | { |
| 375 | sync_filesystem(sb); | 375 | sync_filesystem(sb); |
| 376 | *flags |= MS_RDONLY; | 376 | *flags |= SB_RDONLY; |
| 377 | return 0; | 377 | return 0; |
| 378 | } | 378 | } |
| 379 | 379 | ||
