Iterate all items in object_reload_notification

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Jan Friesse 2011-02-22 12:19:48 +01:00
parent 12163b62d2
commit 41aeecc4ef

View File

@ -342,7 +342,7 @@ static void object_reload_notification(int startstop, int flush)
}
for (list = tmplist.next, tmp = list->next;
list != tmplist.prev; list = tmp, tmp = list->next) {
list != &tmplist; list = tmp, tmp = list->next) {
tracker_pt = list_entry (list, struct object_tracker, object_list);