From ee5c5ed341527910600a1bee55d96b90533debd4 Mon Sep 17 00:00:00 2001 From: pschwan Date: Mon, 2 Sep 2002 17:05:10 +0000 Subject: [PATCH] I'm a moron and spin_unlock was a no-op. --- lustre/ldlm/ldlm_test.c | 2 +- lustre/llite/commit_callback.c | 2 +- lustre/ptlrpc/recovd.c | 2 +- lustre/ptlrpc/service.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/ldlm/ldlm_test.c b/lustre/ldlm/ldlm_test.c index 041f66e..f2c0b20 100644 --- a/lustre/ldlm/ldlm_test.c +++ b/lustre/ldlm/ldlm_test.c @@ -436,7 +436,7 @@ static int ldlm_test_main(void *data) spin_unlock_irq(¤t->sigmask_lock); sprintf(current->comm, "ldlm_test"); - spin_unlock(); + unlock_kernel(); /* Record that the thread is running */ thread->t_flags |= SVC_RUNNING; diff --git a/lustre/llite/commit_callback.c b/lustre/llite/commit_callback.c index 4a33904..741c734 100644 --- a/lustre/llite/commit_callback.c +++ b/lustre/llite/commit_callback.c @@ -63,7 +63,7 @@ static int ll_commitcbd_main(void *arg) spin_unlock_irq(¤t->sigmask_lock); sprintf(current->comm, "lustre_commitcbd"); - spin_unlock(); + unlock_kernel(); /* Record that the thread is running */ sbi->ll_commitcbd_waketime = CURRENT_TIME; diff --git a/lustre/ptlrpc/recovd.c b/lustre/ptlrpc/recovd.c index 37bcccf..62e70f1 100644 --- a/lustre/ptlrpc/recovd.c +++ b/lustre/ptlrpc/recovd.c @@ -165,7 +165,7 @@ static int recovd_main(void *arg) spin_unlock_irq(¤t->sigmask_lock); sprintf(current->comm, "lustre_recovd"); - spin_unlock(); + unlock_kernel(); /* Record that the thread is running */ recovd->recovd_thread = current; diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 285fdee..c812df6 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -248,7 +248,7 @@ static int ptlrpc_main(void *arg) spin_unlock_irq(¤t->sigmask_lock); sprintf(current->comm, data->name); - spin_unlock(); + unlock_kernel(); /* Record that the thread is running */ thread->t_flags = SVC_RUNNING; -- 1.8.3.1