Whamcloud - gitweb
I'm a moron and spin_unlock was a no-op.
authorpschwan <pschwan>
Mon, 2 Sep 2002 17:05:10 +0000 (17:05 +0000)
committerpschwan <pschwan>
Mon, 2 Sep 2002 17:05:10 +0000 (17:05 +0000)
lustre/ldlm/ldlm_test.c
lustre/llite/commit_callback.c
lustre/ptlrpc/recovd.c
lustre/ptlrpc/service.c

index 041f66e..f2c0b20 100644 (file)
@@ -436,7 +436,7 @@ static int ldlm_test_main(void *data)
         spin_unlock_irq(&current->sigmask_lock);
 
         sprintf(current->comm, "ldlm_test");
-        spin_unlock();
+        unlock_kernel();
 
         /* Record that the thread is running */
         thread->t_flags |= SVC_RUNNING;
index 4a33904..741c734 100644 (file)
@@ -63,7 +63,7 @@ static int ll_commitcbd_main(void *arg)
         spin_unlock_irq(&current->sigmask_lock);
 
         sprintf(current->comm, "lustre_commitcbd");
-        spin_unlock();
+        unlock_kernel();
 
         /* Record that the  thread is running */
         sbi->ll_commitcbd_waketime = CURRENT_TIME;
index 37bcccf..62e70f1 100644 (file)
@@ -165,7 +165,7 @@ static int recovd_main(void *arg)
         spin_unlock_irq(&current->sigmask_lock);
 
         sprintf(current->comm, "lustre_recovd");
-        spin_unlock();
+        unlock_kernel();
 
         /* Record that the  thread is running */
         recovd->recovd_thread = current;
index 285fdee..c812df6 100644 (file)
@@ -248,7 +248,7 @@ static int ptlrpc_main(void *arg)
         spin_unlock_irq(&current->sigmask_lock);
 
         sprintf(current->comm, data->name);
-        spin_unlock();
+        unlock_kernel();
 
         /* Record that the thread is running */
         thread->t_flags = SVC_RUNNING;