diff options
author | Ben Pfaff <blp@nicira.com> | 2010-09-17 10:33:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-10-01 10:25:29 -0700 |
commit | 4e8e4213a815a30216e855a805a8bcd5b8c5a886 (patch) | |
tree | 38dbb503be4f22ae804f3e5f83459c975d83886a /ovsdb/file.c | |
parent | adf7cfd851c3d9d6f1ad74653cbd2fecce8c3ba9 (diff) | |
download | openvswitch-4e8e4213a815a30216e855a805a8bcd5b8c5a886.tar.gz |
Switch many macros from using CONTAINER_OF to using OBJECT_CONTAINING.
These macros require one fewer argument by switching, which makes code
that uses them shorter and more readable.
Diffstat (limited to 'ovsdb/file.c')
-rw-r--r-- | ovsdb/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/file.c b/ovsdb/file.c index 846f55668..ddb443a11 100644 --- a/ovsdb/file.c +++ b/ovsdb/file.c @@ -427,7 +427,7 @@ ovsdb_file_save_copy__(const char *file_name, int locking, const struct ovsdb_table *table = node->data; const struct ovsdb_row *row; - HMAP_FOR_EACH (row, struct ovsdb_row, hmap_node, &table->rows) { + HMAP_FOR_EACH (row, hmap_node, &table->rows) { ovsdb_file_txn_add_row(&ftxn, NULL, row, NULL); } } |