Commit 8f19789f authored by Joe Thornber's avatar Joe Thornber Committed by Yang Yingliang
Browse files

dm persistent data: packed struct should have an aligned() attribute too



stable inclusion
from linux-4.19.191
commit 77aab16c6185f15fedccf72094d6d9a59dadadba

--------------------------------

commit a88b2358 upstream.

Otherwise most non-x86 architectures (e.g. riscv, arm) will resort to
byte-by-byte access.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarJoe Thornber <ejt@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 99ef33b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment