diff options
Diffstat (limited to 'fs/jbd2/journal.c')
-rw-r--r-- | fs/jbd2/journal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index f12c65b81456..ff07bff88cf9 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -670,7 +670,7 @@ static journal_t * journal_init_common (void) | |||
670 | spin_lock_init(&journal->j_list_lock); | 670 | spin_lock_init(&journal->j_list_lock); |
671 | spin_lock_init(&journal->j_state_lock); | 671 | spin_lock_init(&journal->j_state_lock); |
672 | 672 | ||
673 | journal->j_commit_interval = (HZ * JBD_DEFAULT_MAX_COMMIT_AGE); | 673 | journal->j_commit_interval = (HZ * JBD2_DEFAULT_MAX_COMMIT_AGE); |
674 | 674 | ||
675 | /* The journal is marked for error until we succeed with recovery! */ | 675 | /* The journal is marked for error until we succeed with recovery! */ |
676 | journal->j_flags = JBD2_ABORT; | 676 | journal->j_flags = JBD2_ABORT; |
@@ -1612,9 +1612,9 @@ int jbd2_journal_blocks_per_page(struct inode *inode) | |||
1612 | size_t journal_tag_bytes(journal_t *journal) | 1612 | size_t journal_tag_bytes(journal_t *journal) |
1613 | { | 1613 | { |
1614 | if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT)) | 1614 | if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT)) |
1615 | return JBD_TAG_SIZE64; | 1615 | return JBD2_TAG_SIZE64; |
1616 | else | 1616 | else |
1617 | return JBD_TAG_SIZE32; | 1617 | return JBD2_TAG_SIZE32; |
1618 | } | 1618 | } |
1619 | 1619 | ||
1620 | /* | 1620 | /* |
@@ -1681,7 +1681,7 @@ static void journal_free_journal_head(struct journal_head *jh) | |||
1681 | { | 1681 | { |
1682 | #ifdef CONFIG_JBD2_DEBUG | 1682 | #ifdef CONFIG_JBD2_DEBUG |
1683 | atomic_dec(&nr_journal_heads); | 1683 | atomic_dec(&nr_journal_heads); |
1684 | memset(jh, JBD_POISON_FREE, sizeof(*jh)); | 1684 | memset(jh, JBD2_POISON_FREE, sizeof(*jh)); |
1685 | #endif | 1685 | #endif |
1686 | kmem_cache_free(jbd2_journal_head_cache, jh); | 1686 | kmem_cache_free(jbd2_journal_head_cache, jh); |
1687 | } | 1687 | } |