diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-03-06 20:58:42 +0300 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-03-15 17:06:07 +0300 |
commit | 28ea06c46fbcab63fd9a55531387b7928a18a590 (patch) | |
tree | 30fcea8bf23bdcfb8a4edc082900c6eed2903900 /net | |
parent | ae50dfd61665086e617cc9e554a1285d52765670 (diff) | |
download | linux-28ea06c46fbcab63fd9a55531387b7928a18a590.tar.xz |
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 'net')
0 files changed, 0 insertions, 0 deletions