mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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
This commit is contained in:
parent
892d51061e
commit
a8ac0b8966
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user