[CIFS] Use the kthread_ API instead of opencoding lots of hairy code for kernel
authorSteve French <sfrench@us.ibm.com>
Fri, 21 Apr 2006 22:52:25 +0000 (22:52 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 21 Apr 2006 22:52:25 +0000 (22:52 +0000)
commit45af7a0f2ebad1304cab956e15f0b37318226fcd
tree039c41ef3b835eb92a088b55d22f1cb3f3bff4c9
parent296034f7de8bdf111984ce1630ac598a9c94a253
[CIFS] Use the kthread_ API instead of opencoding lots of hairy code for kernel
thread creation and teardown.

It does not move the cifsd thread handling to kthread due to problems
found in testing with wakeup of threads blocked in the socket peek api,
but the other cifs kernel threads now use kthread.
Also cleanup cifs_init to properly unwind when thread creation fails.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c