lockfile: Remove lockfile_lock timeout argument
[openvswitch] / ovsdb / file.c
index 9e2dd5079923e996db8e12637f4ed50e8b5a343a..43fcb95643e93f387e69a2fb21887099a2a97f5e 100644 (file)
@@ -649,7 +649,7 @@ ovsdb_file_compact(struct ovsdb_file *file)
 
     /* Lock temporary file. */
     tmp_name = xasprintf("%s.tmp", file->file_name);
-    retval = lockfile_lock(tmp_name, 0, &tmp_lock);
+    retval = lockfile_lock(tmp_name, &tmp_lock);
     if (retval) {
         error = ovsdb_io_error(retval, "could not get lock on %s", tmp_name);
         goto exit;