xfs
[Top] [All Lists]

[PATCH 01/12] xfs: fix da node magic number mismatches

To: xfs@xxxxxxxxxxx
Subject: [PATCH 01/12] xfs: fix da node magic number mismatches
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 7 Jun 2013 22:24:50 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1370607901-11538-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1370564771-4929-1-git-send-email-david@xxxxxxxxxxxxx> <1370607901-11538-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 libxfs/xfs_da_btree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfs/xfs_da_btree.c b/libxfs/xfs_da_btree.c
index a76962d..e83a3ad 100644
--- a/libxfs/xfs_da_btree.c
+++ b/libxfs/xfs_da_btree.c
@@ -288,8 +288,8 @@ xfs_da3_node_read(
                int                     type;
 
                switch (be16_to_cpu(info->magic)) {
-               case XFS_DA3_NODE_MAGIC:
                case XFS_DA_NODE_MAGIC:
+               case XFS_DA3_NODE_MAGIC:
                        type = XFS_BLFT_DA_NODE_BUF;
                        break;
                case XFS_ATTR_LEAF_MAGIC:
-- 
1.7.10.4

<Prev in Thread] Current Thread [Next in Thread>