summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-21 18:16:04 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-21 18:16:04 +0000
commita8ac0b89668dabce252a80e10785cac876e98a34 (patch)
tree61404b4f068f06171283ae96a3d6a2e75d8aab30
parent892d51061e041e48e36267d33bdb3bb575c6768e (diff)
Whoops, missed an instance where we could recursively stack check... bad.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@80 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
-rw-r--r--modules/spl/spl-debug.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/spl/spl-debug.c b/modules/spl/spl-debug.c
index b5771a2aa..868be23f1 100644
--- a/modules/spl/spl-debug.c
+++ b/modules/spl/spl-debug.c
@@ -377,7 +377,6 @@ spl_debug_dumplog(void)
{
struct task_struct *tsk;
dumplog_priv_t dp;
- ENTRY;
init_waitqueue_head(&dp.dp_waitq);
dp.dp_pid = current->pid;
@@ -385,12 +384,12 @@ spl_debug_dumplog(void)
tsk = kthread_create(spl_debug_dumplog_thread,(void *)&dp,"spl_debug");
if (tsk == NULL)
- RETURN(-ENOMEM);
+ return -ENOMEM;
wake_up_process(tsk);
wait_event(dp.dp_waitq, atomic_read(&dp.dp_flag));
- RETURN(0);
+ return 0;
}
EXPORT_SYMBOL(spl_debug_dumplog);