X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ffile.c;h=d09395c4cfc37207a3fbeeb842a7b79b95e9e0ff;hb=76ecc721793b29c8bae44b10a065ec9ac07a9e4b;hp=f0913e9d3bf388d4878a91ddc3bf0125523d9018;hpb=c73814a3e6cbdf8c4083ef1d510377e41cb82f6a;p=openvswitch diff --git a/ovsdb/file.c b/ovsdb/file.c index f0913e9d..d09395c4 100644 --- a/ovsdb/file.c +++ b/ovsdb/file.c @@ -36,10 +36,10 @@ #include "transaction.h" #include "uuid.h" #include "util.h" - -#define THIS_MODULE VLM_ovsdb_file #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(ovsdb_file); + /* Minimum number of milliseconds between database compactions. */ #define COMPACT_MIN_MSEC (10 * 60 * 1000) /* 10 minutes. */ @@ -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); } }