vlog: Use log_file_mutex to more consistently protect vlog_modules.
authorBen Pfaff <blp@ovn.org>
Wed, 3 Feb 2016 21:47:25 +0000 (13:47 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 10 Feb 2016 21:36:07 +0000 (13:36 -0800)
commit867a2e3aae16024358768d4fac3fb0843db453b8
tree0044d0b725f23aff40c4b695f65b0202e4644140
parent063801288e2b1c98026d7faa81de9959eee678a3
vlog: Use log_file_mutex to more consistently protect vlog_modules.

This could be beneficial if we ever insert a new module at runtime
(currently we only insert them at startup) and it should have negligible
cost.

Suggested-by: Russell Bryant <russell@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
lib/vlog.c