aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index acf8695fa8f0..04169318e6ba 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -2290,7 +2290,7 @@ static int ext3_load_journal(struct super_block *sb,
2290 EXT3_SB(sb)->s_journal = journal; 2290 EXT3_SB(sb)->s_journal = journal;
2291 ext3_clear_journal_err(sb, es); 2291 ext3_clear_journal_err(sb, es);
2292 2292
2293 if (journal_devnum && 2293 if (!really_read_only && journal_devnum &&
2294 journal_devnum != le32_to_cpu(es->s_journal_dev)) { 2294 journal_devnum != le32_to_cpu(es->s_journal_dev)) {
2295 es->s_journal_dev = cpu_to_le32(journal_devnum); 2295 es->s_journal_dev = cpu_to_le32(journal_devnum);
2296 2296