]> git.proxmox.com Git - mirror_spl.git/commit
Call kthread_create() correctly with fixed arguments.
authorTim Chase <tim@chase2k.com>
Fri, 11 Apr 2014 13:55:10 +0000 (08:55 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 11 Apr 2014 16:41:40 +0000 (09:41 -0700)
commit3ceb71e8966e5f1895885eeaaa9354ffd940b490
tree6b1fa21c7b11508d8aa87387de23587f1224e9d1
parented650dee76e928ce266e9d204637516d3a375b77
Call kthread_create() correctly with fixed arguments.

The kernel's kthread_create() function is defined as "..." and there is
no va_list variant at the moment.  The task name is pre-formatted into
a local buffer and passed to kthread_create() with fixed arguments.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #347
module/spl/spl-thread.c