Whamcloud - gitweb
adjust to user-lock.h changes.
[fs/lustre-release.git] / libcfs / libcfs / user-lock.c
index cf1b092..1f392f6 100644 (file)
@@ -61,6 +61,7 @@
  *
  * - spin_lock_init(x)
  * - spin_lock(x)
+ * - spin_lock_nested(x, subclass)
  * - spin_unlock(x)
  * - spin_trylock(x)
  *
@@ -165,6 +166,12 @@ void wait_for_completion(struct completion *c)
         LASSERT(c != NULL);
 }
 
+int wait_for_completion_interruptible(struct completion *c)
+{
+        LASSERT(c != NULL);
+        return 0;
+}
+
 /*
  * rw_semaphore:
  *