VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)
[linux-2.6-microblaze.git] / fs / reiserfs / prints.c
index 4f3f928..64f49ca 100644 (file)
@@ -386,7 +386,7 @@ void __reiserfs_error(struct super_block *sb, const char *id,
                printk(KERN_CRIT "REISERFS error (device %s): %s: %s\n",
                       sb->s_id, function, error_buf);
 
-       if (sb->s_flags & MS_RDONLY)
+       if (sb_rdonly(sb))
                return;
 
        reiserfs_info(sb, "Remounting filesystem read-only\n");