Unverified Commit 369b68f4 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 24112b52 83e07ded
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1904,7 +1904,6 @@ static struct stable_node *stable_tree_insert(struct page *kpage)

	INIT_HLIST_HEAD(&stable_node_dup->hlist);
	stable_node_dup->kpfn = kpfn;
	set_page_stable_node(kpage, stable_node_dup);
	stable_node_dup->rmap_hlist_len = 0;
	DO_NUMA(stable_node_dup->nid = nid);
	if (!need_chain) {
@@ -1923,6 +1922,8 @@ static struct stable_node *stable_tree_insert(struct page *kpage)
		stable_node_chain_add_dup(stable_node_dup, stable_node);
	}

	set_page_stable_node(kpage, stable_node_dup);

	return stable_node_dup;
}