Commit 13751b44 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Zheng Zengkai
Browse files

XArray: Fix splitting to non-zero orders



stable inclusion
from stable-5.10.31
commit d99e22c0ea747d6a5b1a06e0787d3643e452c9d0
bugzilla: 51792

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

[ Upstream commit 3012110d ]

Splitting an order-4 entry into order-2 entries would leave the array
containing pointers to 000040008000c000 instead of 000044448888cccc.
This is a one-character fix, but enhance the test suite to check this
case.

Reported-by: default avatarZi Yan <ziy@nvidia.com>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent f90ac1d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment