From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Mon, 6 Mar 2017 13:27:58 -0500 (EST) Subject: [Cluster-devel] [PATCH] gfs2: Avoid alignment hole in struct lm_lockname In-Reply-To: <1488810836-11427-1-git-send-email-agruenba@redhat.com> References: <1488810836-11427-1-git-send-email-agruenba@redhat.com> Message-ID: <1110213219.31149233.1488824878103.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | 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 | CC: #v4.3+ | --- Hi, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/?h=for-next&id=415730e5de2361518a2d884c0f64de37c5bfefeb Regards, Bob Peterson Red Hat File Systems