summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-02-10 00:37:18 +0100
committerDave Chinner <david@fromorbit.com>2014-02-10 00:37:18 +0100
commit3895e51f6dbf6610519be070a3bede811f6ac4fb (patch)
tree30e465d362e605c15490c4b224c930d10d6a3194 /fs/namei.c
parentxfs: ensure correct timestamp updates from truncate (diff)
downloadlinux-3895e51f6dbf6610519be070a3bede811f6ac4fb.tar.xz
linux-3895e51f6dbf6610519be070a3bede811f6ac4fb.zip
xfs: ensure correct log item buffer alignment
On 32 bit platforms, the log item vector headers are not 64 bit aligned or sized. hence if we don't take care to align them correctly or pad the buffer appropriately for 8 byte alignment, we can end up with alignment issues when accessing the user buffer directly as a structure. To solve this, simply pad the buffer headers to 64 bit offset so that the data section is always 8 byte aligned. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reported-by: Michael L. Semon <mlsemon35@gmail.com> Tested-by: Michael L. Semon <mlsemon35@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions