ovsdb: Factor out code to fsync a file's containing directory.
authorBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 23:35:46 +0000 (15:35 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 15 Feb 2010 19:31:34 +0000 (11:31 -0800)
commit8e71cf88b78eb704d452b1a4abf8014de340438e
tree9c37e23f9dadda7c58d2df5dcb75f2ae14bdb10b
parenta3d573ed9b510289254b29cd3a62ed51e14c5b98
ovsdb: Factor out code to fsync a file's containing directory.

In an upcoming commit, another function wants to do the same thing, so
break it out into a helper function.
lib/socket-util.c
lib/socket-util.h
ovsdb/log.c