summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-04-30 13:39:36 +0200
committerBen Myers <bpm@sgi.com>2013-05-01 21:48:30 +0200
commitcab09a81fbefcb21db5213a84461d421946f6eb8 (patch)
treeaec08aeb1bea636dc555a529b258e10eddc6441d /fs/xfs/xfs_log_recover.c
parentxfs: Remote attr validation fixes and optimisations (diff)
downloadlinux-cab09a81fbefcb21db5213a84461d421946f6eb8.tar.xz
linux-cab09a81fbefcb21db5213a84461d421946f6eb8.zip
xfs: fix da node magic number mismatches
Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c3
1 files changed, 1 insertions, 2 deletions
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(
case XFS_BLFT_ATTR_RMT_BUF:
if (!xfs_sb_version_hascrc(&mp->m_sb))
break;
- if (magicda != XFS_ATTR3_RMT_MAGIC) {
+ if (magic32 != XFS_ATTR3_RMT_MAGIC) {
xfs_warn(mp, "Bad attr remote magic!");
ASSERT(0);
break;
@@ -2135,7 +2135,6 @@ xlog_recover_do_reg_buffer(
ASSERT(i == item->ri_total);
xlog_recovery_validate_buf_type(mp, bp, buf_f);
-
}
/*