summaryrefslogtreecommitdiffstats
path: root/fs/efs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/efs/super.c')
-rw-r--r--fs/efs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efs/super.c b/fs/efs/super.c
index 368f7dd21c61..5c42f1e34a2f 100644
--- a/fs/efs/super.c
+++ b/fs/efs/super.c
@@ -306,7 +306,7 @@ static int efs_fill_super(struct super_block *s, void *d, int silent)
306 } 306 }
307 brelse(bh); 307 brelse(bh);
308 308
309 if (!(s->s_flags & MS_RDONLY)) { 309 if (!sb_rdonly(s)) {
310#ifdef DEBUG 310#ifdef DEBUG
311 pr_info("forcing read-only mode\n"); 311 pr_info("forcing read-only mode\n");
312#endif 312#endif