Skip to content
Commit 5f43f86e authored by Gui Hecheng's avatar Gui Hecheng Committed by Chris Mason
Browse files

btrfs: fix wrong max system array size check in kernel space



For system chunk array,
We copy a "disk_key" and an chunk item each time,
so there should be enough space to hold both of them,
not only the chunk item.

Signed-off-by: default avatarGui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 65d33fd7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment