Whamcloud - gitweb
adjust to user-lock.h changes.
[fs/lustre-release.git] / libcfs / libcfs / user-lock.c
index f0f7fb7..1f392f6 100644 (file)
@@ -16,8 +16,8 @@
  * in the LICENSE file that accompanied this code).
  *
  * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see [sun.com URL with a
- * copy of GPLv2].
+ * version 2 along with this program; If not, see
+ * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
  *
  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  * CA 95054 USA or visit www.sun.com if you need additional information or
@@ -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:
  *