Re: [PATCH] (and bad attr2 bug) - pack xfs_sb_t for 64-bit arches

Eric Sandeen
2006-11-18T00:18:26Z

Eric Sandeen wrote:
> see also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212201

ok so the padding was a red herring w.r.t. the corruption.

What I have found is that the bmap btree block -is- in the inode, and
the attribute extents -are- in the inode, but they are not properly placed.

If you reset the forkoff to 13, you'll get proper answers for the btree
block. If you set it to 15, you get proper answers for the attribute
extents. But not both at the same time. Something set the forkoff, or
the location of the btree block, or the location of the attr extents, at
the wrong place in the inode.

Getting closer...

-Eric