ovs-thread: Fix OVS_ADAPTIVE_MUTEX_INITIALIZER.
authorBen Pfaff <blp@nicira.com>
Thu, 1 May 2014 15:46:45 +0000 (08:46 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 1 May 2014 15:46:45 +0000 (08:46 -0700)
commite38785b39dc172d02bd2ae7db1a45a16e5517146
treefef14fdbc5fa9b7fe59ff0ecca48ffbff8278773
parentc260f4e2e01fa5e6d2dbfbfed5314cccbae6bc8d
ovs-thread: Fix OVS_ADAPTIVE_MUTEX_INITIALIZER.

Commit 05bf6d3c62e1d (ovs-thread: Add checking for mutex and rwlock
initialization.) updated mutex and rwlock initializers to set the "where"
member to a nonnull value, but missed this one.  This commit fixes the
problem.

This does not cause real problems in practice because
OVS_ADAPTIVE_MUTEX_INITIALIZER has no existing users.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/ovs-thread.h