xfs: xfs_attr_shortform_allfit() does not handle attr3 format.
authorDave Chinner <[email protected]>
Sun, 19 May 2013 23:51:14 +0000 (09:51 +1000)
committerBen Myers <[email protected]>
Mon, 20 May 2013 21:53:22 +0000 (16:53 -0500)
commitb38958d715316031fe9ea0cc6c22043072a55f49
tree76fba52a0acd88acd3fec01ca223a145d667711f
parent72916fb8cbcf0c2928f56cdc2fbe8c7bf5517758
xfs: xfs_attr_shortform_allfit() does not handle attr3 format.

xfstests generic/117 fails with:

XFS: Assertion failed: leaf->hdr.info.magic == cpu_to_be16(XFS_ATTR_LEAF_MAGIC)

indicating a function that does not handle the attr3 format
correctly. Fix it.

Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Ben Myers <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
fs/xfs/xfs_attr_leaf.c