From: Bob Peterson Date: Thu, 12 Jan 2017 10:58:08 -0500 (EST) Subject: [Cluster-devel] [PATCH 4/5] gfs2_edit: Fix unaligned access in restore_init() In-Reply-To: <20170110143446.14419-5-anprice@redhat.com> References: <20170110143446.14419-1-anprice@redhat.com> <20170110143446.14419-5-anprice@redhat.com> Message-ID: <103249034.10032138.1484236688343.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 ----- | Scanning this buffer byte-by-byte using casts results in a quick bus | error on sparc64. Avoid this by using a memcpy. This function only runs | once at the beginning of a restoremeta and in most cases the loop will | only execute once so this adds very little overhead. | | Reported-By: Valentin Vidic | Signed-off-by: Andrew Price | --- Hi, ACK Bob Peterson Red Hat File Systems