cfg: Fix cfg_unlock() to remove the lockfile unconditionally.
authorBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 21:43:53 +0000 (14:43 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 21:44:57 +0000 (14:44 -0700)
commit9673d1eb0a90cba206c654dffb5005abe5bc43ce
tree823c25e891e092a80e03f4b2014f7a1fdea7b6ea
parentddd819576c4f8a3d64e0cba116e7fbd9989bf2fa
cfg: Fix cfg_unlock() to remove the lockfile unconditionally.

Calling remove_lockfile() does the wrong thing here, because it only
removes stale lockfiles.  Here, the lockfile is not stale, because we know
that we own it.  Therefore, we can remove it unconditionally.
lib/cfg.c
lib/lockfile.c