On Mon, 11 Feb 2013, Dave Chinner wrote:
> Date: Mon, 11 Feb 2013 09:16:00 +1100
> From: Dave Chinner <david@xxxxxxxxxxxxx>
> To: LukÃÅ Czerner <lczerner@xxxxxxxxxx>
> Cc: xfs@xxxxxxxxxxx
> Subject: Re: Xfs fails in xfstests 013
> On Mon, Feb 04, 2013 at 10:00:13AM +1100, Dave Chinner wrote:
> > On Fri, Feb 01, 2013 at 03:33:06PM +0100, LukÃÅ Czerner wrote:
> > > On Fri, 1 Feb 2013, LukÃÅ Czerner wrote:
> > > and I have not hit the assert. However I think that I know what's
> > > going on. The verifier is obviously not attached when the symlink is
> > > created, however it is attached when security attributes are created
> > > for the symlink by xfs_init_security().
> > Which means the bug is in xfs_bmap_add_attrfork_local() in calling
> > xfs_bmap_local_to_extents(). i.e it assumes that the local data is
> > either directory data or extent data, and is attaching extent tree
> > verifiers to the buffer that contains a remote symlink. Thinking
> > time now needed, as this affects the symlink CRC changes as well.
> > Thanks for the debug help, Lukas.
> Lukas, can you check whether the patch below fixes the problem you
from my testing it seems that ti fixes the problem. Can not
reproduce it anymore with the patch applied.