diff options
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 56814e305dea..9b26a99ebfe9 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c | |||
@@ -310,8 +310,8 @@ xfs_da3_node_read( | |||
310 | int type; | 310 | int type; |
311 | 311 | ||
312 | switch (be16_to_cpu(info->magic)) { | 312 | switch (be16_to_cpu(info->magic)) { |
313 | case XFS_DA3_NODE_MAGIC: | ||
314 | case XFS_DA_NODE_MAGIC: | 313 | case XFS_DA_NODE_MAGIC: |
314 | case XFS_DA3_NODE_MAGIC: | ||
315 | type = XFS_BLFT_DA_NODE_BUF; | 315 | type = XFS_BLFT_DA_NODE_BUF; |
316 | break; | 316 | break; |
317 | case XFS_ATTR_LEAF_MAGIC: | 317 | case XFS_ATTR_LEAF_MAGIC: |
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index ecaa4d4ef39f..93f03ec17eec 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -2039,7 +2039,7 @@ xlog_recovery_validate_buf_type( | |||
2039 | case XFS_BLFT_ATTR_RMT_BUF: | 2039 | case XFS_BLFT_ATTR_RMT_BUF: |
2040 | if (!xfs_sb_version_hascrc(&mp->m_sb)) | 2040 | if (!xfs_sb_version_hascrc(&mp->m_sb)) |
2041 | break; | 2041 | break; |
2042 | if (magicda != XFS_ATTR3_RMT_MAGIC) { | 2042 | if (magic32 != XFS_ATTR3_RMT_MAGIC) { |
2043 | xfs_warn(mp, "Bad attr remote magic!"); | 2043 | xfs_warn(mp, "Bad attr remote magic!"); |
2044 | ASSERT(0); | 2044 | ASSERT(0); |
2045 | break; | 2045 | break; |
@@ -2135,7 +2135,6 @@ xlog_recover_do_reg_buffer( | |||
2135 | ASSERT(i == item->ri_total); | 2135 | ASSERT(i == item->ri_total); |
2136 | 2136 | ||
2137 | xlog_recovery_validate_buf_type(mp, bp, buf_f); | 2137 | xlog_recovery_validate_buf_type(mp, bp, buf_f); |
2138 | |||
2139 | } | 2138 | } |
2140 | 2139 | ||
2141 | /* | 2140 | /* |