diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-03-06 12:58:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-26 13:05:58 +0200 |
commit | a33e71c5f0cbbf9d5f25ebad90ed2b2b117444bb (patch) | |
tree | 1a2e93f132738c06294069e7c27820a7c267a862 /mm/percpu.c | |
parent | c795d8780cc85403a32e92b5cc55e35cefcaf360 (diff) |
gfs2: Avoid alignment hole in struct lm_lockname
commit 28ea06c46fbcab63fd9a55531387b7928a18a590 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions