Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gfs2: Avoid alignment hole in struct lm_lockname
Commit 88ffbf3 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+
- Loading branch information