HomeClusterLabs Projects

Refactor: libpacemaker: Avoid unnecessary iterations over GList

Description

Refactor: libpacemaker: Avoid unnecessary iterations over GList

sort_instance_by_colocation() uses g_list_nth_data as though the GList
were an array.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 22 2021, 10:47 PM
Parents
rP80bb5e083de0: Refactor: libpacemaker: Functionalize part of sort_clone_instance()
Branches
Unknown
Tags
Unknown

Event Timeline