diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-06-21 11:53:28 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-06-21 11:53:28 +1000 |
commit | 3f94c441e2c3dea029a46a2326b2170acf2c7713 (patch) | |
tree | ea12867e40eb742cbdf212cc24727b4a1e076df1 /fs/xfs/xfs_buf.c | |
parent | 408fd484618c48414eb52c86a48f11794de9a248 (diff) | |
download | linux-3f94c441e2c3dea029a46a2326b2170acf2c7713.tar.gz linux-3f94c441e2c3dea029a46a2326b2170acf2c7713.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions