commit | 3f94c441e2c3dea029a46a2326b2170acf2c7713 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jun 21 11:53:28 2016 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Tue Jun 21 11:53:28 2016 +1000 |
tree | ea12867e40eb742cbdf212cc24727b4a1e076df1 | |
parent | 408fd484618c48414eb52c86a48f11794de9a248 [diff] |
xfs: check offsets of variable length structures Some of the directory/attr structures contain variable-length objects, so the enclosing structure doesn't have a meaningful fixed size at compile time. We can check the offsets of the members before the variable-length member, so do those. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>