Commit edf156e4 authored by Joe Thornber's avatar Joe Thornber Committed by Zheng Zengkai
Browse files

dm btree spine: remove paranoid node_check call in node_prep_for_write()

mainline inclusion
from mainline-v5.13-rc1
commit f73e2e70
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5JCAH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f73e2e70ec48c9a9d45494c4866230a5059062ad



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

Remove this extra BUG_ON() that calls node_check() -- which avoids extra crc checking.

Signed-off-by: default avatarJoe Thornber <ejt@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
Reviewed-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 83bc3673
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment