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

Dave Chinner david at fromorbit.com
Fri Jun 7 07:24:50 CDT 2013


From: Dave Chinner <dchinner at redhat.com>

Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
 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



More information about the xfs mailing list