Skip to content
Snippets Groups Projects
Commit 4583e773 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds
Browse files
parent 13ad59df
No related branches found
No related tags found
No related merge requests found
......@@ -2309,7 +2309,7 @@ EXPORT_SYMBOL_GPL(free_vm_area);
#ifdef CONFIG_SMP
static struct vmap_area *node_to_va(struct rb_node *n)
{
return n ? rb_entry(n, struct vmap_area, rb_node) : NULL;
return rb_entry_safe(n, struct vmap_area, rb_node);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment