summaryrefslogtreecommitdiffstats
path: root/fs/qnx6/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/qnx6/inode.c')
-rw-r--r--fs/qnx6/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c
index 1192422a1c56..4aeb26bcb4d0 100644
--- a/fs/qnx6/inode.c
+++ b/fs/qnx6/inode.c
@@ -56,7 +56,7 @@ static int qnx6_show_options(struct seq_file *seq, struct dentry *root)
56static int qnx6_remount(struct super_block *sb, int *flags, char *data) 56static int qnx6_remount(struct super_block *sb, int *flags, char *data)
57{ 57{
58 sync_filesystem(sb); 58 sync_filesystem(sb);
59 *flags |= MS_RDONLY; 59 *flags |= SB_RDONLY;
60 return 0; 60 return 0;
61} 61}
62 62
@@ -427,7 +427,7 @@ mmi_success:
427 } 427 }
428 s->s_op = &qnx6_sops; 428 s->s_op = &qnx6_sops;
429 s->s_magic = QNX6_SUPER_MAGIC; 429 s->s_magic = QNX6_SUPER_MAGIC;
430 s->s_flags |= MS_RDONLY; /* Yup, read-only yet */ 430 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */
431 431
432 /* ease the later tree level calculations */ 432 /* ease the later tree level calculations */
433 sbi = QNX6_SB(s); 433 sbi = QNX6_SB(s);