summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-06-21 11:53:28 +1000
committerDave Chinner <david@fromorbit.com>2016-06-21 11:53:28 +1000
commit3f94c441e2c3dea029a46a2326b2170acf2c7713 (patch)
treeea12867e40eb742cbdf212cc24727b4a1e076df1 /fs/xfs/xfs_buf.c
parent408fd484618c48414eb52c86a48f11794de9a248 (diff)
downloadlinux-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