Skip to content
Commit 6267e267 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
Browse files

mount: simplify mnt_build_ids_tree()



This patch reworks this function, removes mess and fix
the next coverity issue:

394                m->parent = parent;
CID 175314 (#1 of 1): Dereference after null check (FORWARD_NULL)
27. var_deref_model: Passing null pointer &parent->children to list_add_tail, which dereferences it. [show details]

travis-ci: success for mount: simplify mnt_build_ids_tree()
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 10dc2a5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment