diff options
-rw-r--r-- | fs/reiserfs/journal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index 68aea62ea61d..e5e06dd8562f 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c | |||
@@ -3231,8 +3231,6 @@ int journal_mark_dirty(struct reiserfs_transaction_handle *th, | |||
3231 | th->t_trans_id, journal->j_trans_id); | 3231 | th->t_trans_id, journal->j_trans_id); |
3232 | } | 3232 | } |
3233 | 3233 | ||
3234 | sb->s_dirt = 1; | ||
3235 | |||
3236 | prepared = test_clear_buffer_journal_prepared(bh); | 3234 | prepared = test_clear_buffer_journal_prepared(bh); |
3237 | clear_buffer_journal_restore_dirty(bh); | 3235 | clear_buffer_journal_restore_dirty(bh); |
3238 | /* already in this transaction, we are done */ | 3236 | /* already in this transaction, we are done */ |
@@ -3316,6 +3314,7 @@ int journal_mark_dirty(struct reiserfs_transaction_handle *th, | |||
3316 | journal->j_first = cn; | 3314 | journal->j_first = cn; |
3317 | journal->j_last = cn; | 3315 | journal->j_last = cn; |
3318 | } | 3316 | } |
3317 | sb->s_dirt = 1; | ||
3319 | return 0; | 3318 | return 0; |
3320 | } | 3319 | } |
3321 | 3320 | ||