diff options
Diffstat (limited to 'fs/reiserfs/prints.c')
-rw-r--r-- | fs/reiserfs/prints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/prints.c b/fs/reiserfs/prints.c index 4f3f928076f3..64f49cafbc5b 100644 --- a/fs/reiserfs/prints.c +++ b/fs/reiserfs/prints.c | |||
@@ -386,7 +386,7 @@ void __reiserfs_error(struct super_block *sb, const char *id, | |||
386 | printk(KERN_CRIT "REISERFS error (device %s): %s: %s\n", | 386 | printk(KERN_CRIT "REISERFS error (device %s): %s: %s\n", |
387 | sb->s_id, function, error_buf); | 387 | sb->s_id, function, error_buf); |
388 | 388 | ||
389 | if (sb->s_flags & MS_RDONLY) | 389 | if (sb_rdonly(sb)) |
390 | return; | 390 | return; |
391 | 391 | ||
392 | reiserfs_info(sb, "Remounting filesystem read-only\n"); | 392 | reiserfs_info(sb, "Remounting filesystem read-only\n"); |