Merge branch 'upstream'
[debian/amanda] / common-src / amflock.c
index c10599683681a8068ff14bfab5a4f1bcd5fa4c3e..2b012e360ec3afc9848196a3675c7bbca34ebe6f 100644 (file)
@@ -90,7 +90,7 @@ amflock_impl_t *amflock_impls[] = {
 /* FIXME: for now, these just use the first non-NULL implementation
  */
 
-/* Get a file lock (for read/write files).
+/* Locking using existance of a file.
 */
 int
 amflock(
@@ -100,6 +100,8 @@ amflock(
     if (!amflock_impls[0]) return 0; /* no locking */
     return amflock_impls[0]->amflock_impl(fd, resource);
 }
+#endif
+
 
 /*
  * Get a file lock (for read-only files).