summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-05-20 09:51:13 +1000
committerBen Myers <bpm@sgi.com>2013-05-24 16:29:37 -0500
commit7ced60cae46cb37273a03c196e6f473b089bd8e1 (patch)
tree1d9803414a9463936b583c37a08d6e678c8204b3
parentb17cb364dbbbf65add79f1610599d01bcb6851f9 (diff)
downloadlinux-3.10-7ced60cae46cb37273a03c196e6f473b089bd8e1.tar.gz
linux-3.10-7ced60cae46cb37273a03c196e6f473b089bd8e1.tar.bz2
linux-3.10-7ced60cae46cb37273a03c196e6f473b089bd8e1.zip
xfs: xfs_da3_node_read_verify() doesn't handle XFS_ATTR3_LEAF_MAGIC
Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com> (cherry picked from commit 72916fb8cbcf0c2928f56cdc2fbe8c7bf5517758)
-rw-r--r--fs/xfs/xfs_da_btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c
index 41ea7e14a7b..0b8b2a13cd2 100644
--- a/fs/xfs/xfs_da_btree.c
+++ b/fs/xfs/xfs_da_btree.c
@@ -270,6 +270,7 @@ xfs_da3_node_read_verify(
break;
return;
case XFS_ATTR_LEAF_MAGIC:
+ case XFS_ATTR3_LEAF_MAGIC:
bp->b_ops = &xfs_attr3_leaf_buf_ops;
bp->b_ops->verify_read(bp);
return;