]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: xfs_attr_shortform_allfit() does not handle attr3 format.
authorDave Chinner <dchinner@redhat.com>
Sun, 19 May 2013 23:51:14 +0000 (09:51 +1000)
committerBen Myers <bpm@sgi.com>
Fri, 24 May 2013 21:29:56 +0000 (16:29 -0500)
commitdf4d475f00fead942c8ffd6682b9c0defc633c3d
tree0f4a99c719be780ba023094459df39c5240a00bb
parent1b1d981c6169b8785ad440d0bd6402336e016ba9
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 <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit b38958d715316031fe9ea0cc6c22043072a55f49)
fs/xfs/xfs_attr_leaf.c