summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/recovery.c
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2007-10-17 00:38:25 +0200
committerTheodore Ts'o <tytso@mit.edu>2007-10-18 00:49:58 +0200
commitcd02ff0b14b7e27cbdfd7ff2814b08199a2b7168 (patch)
treefd9158bb92d086838a1b81b549243f3cdc23a7b8 /fs/jbd2/recovery.c
parentJBD2/Ext4: Convert kmalloc to kzalloc in jbd2/ext4 (diff)
downloadlinux-cd02ff0b14b7e27cbdfd7ff2814b08199a2b7168.tar.xz
linux-cd02ff0b14b7e27cbdfd7ff2814b08199a2b7168.zip
jbd2: JBD_XXX to JBD2_XXX naming cleanup
change JBD_XXX macros to JBD2_XXX in JBD2/Ext4 Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/recovery.c')
-rw-r--r--fs/jbd2/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
index b50be8a044eb..d0ce627539ef 100644
--- a/fs/jbd2/recovery.c
+++ b/fs/jbd2/recovery.c
@@ -311,7 +311,7 @@ int jbd2_journal_skip_recovery(journal_t *journal)
static inline unsigned long long read_tag_block(int tag_bytes, journal_block_tag_t *tag)
{
unsigned long long block = be32_to_cpu(tag->t_blocknr);
- if (tag_bytes > JBD_TAG_SIZE32)
+ if (tag_bytes > JBD2_TAG_SIZE32)
block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32;
return block;
}