Whamcloud - gitweb
- minor fix
authorbraam <braam>
Sun, 23 Jun 2002 19:16:22 +0000 (19:16 +0000)
committerbraam <braam>
Sun, 23 Jun 2002 19:16:22 +0000 (19:16 +0000)
lustre/lib/l_lock.c

index ca253a2..d3c5695 100644 (file)
@@ -61,7 +61,7 @@ void l_lock_init(struct lustre_lock *lock)
 
 void l_lock(struct lustre_lock *lock)
 {
-        int owner;
+        int owner = 0;
         spin_lock(&lock->l_spin);
         if (lock->l_owner == current) { 
                 owner = 1;