diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-03-06 12:58:42 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-03-15 10:06:07 -0400 |
commit | 28ea06c46fbcab63fd9a55531387b7928a18a590 (patch) | |
tree | 30fcea8bf23bdcfb8a4edc082900c6eed2903900 /drivers/scsi/mpt3sas/mpt3sas_base.h | |
parent | ae50dfd61665086e617cc9e554a1285d52765670 (diff) | |
download | linux-28ea06c46fbcab63fd9a55531387b7928a18a590.tar.gz linux-28ea06c46fbcab63fd9a55531387b7928a18a590.tar.bz2 linux-28ea06c46fbcab63fd9a55531387b7928a18a590.zip |
gfs2: Avoid alignment hole in struct lm_lockname
Commit 88ffbf3e03 switches to using rhashtables for glocks, hashing over
the entire struct lm_lockname instead of its individual fields. On some
architectures, struct lm_lockname contains a hole of uninitialized
memory due to alignment rules, which now leads to incorrect hash values.
Get rid of that hole.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
CC: <stable@vger.kernel.org> #v4.3+
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_base.h')
0 files changed, 0 insertions, 0 deletions