mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
hmap: Rename hmap_moved() to hmap_node_moved().
This prepares for adding a new function that deals with a "struct hmap" moving, as opposed to a "struct hmap_node". Since there was only a single call to this in the whole tree, and its caller didn't have any callers of its own at all, also move this function from hmap.h to hmap.c.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009 Nicira Networks.
|
||||
* Copyright (c) 2009, 2010 Nicira Networks.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -102,7 +102,8 @@ cls_rule_moved(struct classifier *cls, struct cls_rule *old,
|
||||
if (new->wc.wildcards) {
|
||||
list_moved(&new->node.list);
|
||||
} else {
|
||||
hmap_moved(&cls->exact_table, &old->node.hmap, &new->node.hmap);
|
||||
hmap_node_moved(&cls->exact_table,
|
||||
&old->node.hmap, &new->node.hmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user