diff options
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/super.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index f3c820b75829..4ad40afe54e1 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
@@ -1280,6 +1280,8 @@ static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) | |||
1280 | REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); | 1280 | REISERFS_SB(s)->s_mount_state = sb_umount_state(rs); |
1281 | s->s_flags &= ~MS_RDONLY; | 1281 | s->s_flags &= ~MS_RDONLY; |
1282 | set_sb_umount_state(rs, REISERFS_ERROR_FS); | 1282 | set_sb_umount_state(rs, REISERFS_ERROR_FS); |
1283 | if (!old_format_only(s)) | ||
1284 | set_sb_mnt_count(rs, sb_mnt_count(rs) + 1); | ||
1283 | /* mark_buffer_dirty (SB_BUFFER_WITH_SB (s), 1); */ | 1285 | /* mark_buffer_dirty (SB_BUFFER_WITH_SB (s), 1); */ |
1284 | journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); | 1286 | journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); |
1285 | REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS; | 1287 | REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS; |
@@ -1819,7 +1821,9 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent) | |||
1819 | } else if (!silent) { | 1821 | } else if (!silent) { |
1820 | reiserfs_info(s, "using 3.5.x disk format\n"); | 1822 | reiserfs_info(s, "using 3.5.x disk format\n"); |
1821 | } | 1823 | } |
1822 | } | 1824 | } else |
1825 | set_sb_mnt_count(rs, sb_mnt_count(rs) + 1); | ||
1826 | |||
1823 | 1827 | ||
1824 | journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); | 1828 | journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); |
1825 | errval = journal_end(&th, s, 1); | 1829 | errval = journal_end(&th, s, 1); |