Return error when multiple writers are modifying vswitchd.conf.
authorJustin Pettit <jpettit@nicira.com>
Wed, 25 Mar 2009 13:00:59 +0000 (06:00 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 25 Mar 2009 13:00:59 +0000 (06:00 -0700)
commite6cc053abab1f84b8ab3d5ac361df0d520f321a0
tree04e28f6f0aa6db2688baf49024bf848e18803ccc
parent4ab581b949f787d3bb37b887a3e80c9b3ab60230
Return error when multiple writers are modifying vswitchd.conf.

We now have multiple writers of vswitchd.conf.  The bridge compatibility
module's attempts to write can now fail due to the file being locked.
This change notifies the caller of that.
vswitchd/brcompat.c
vswitchd/brcompat.h