From: Steve French Date: Wed, 23 May 2007 14:45:36 +0000 (+0000) Subject: [CIFS] Fix oops on failed cifs mount (in kthread_stop) X-Git-Tag: v2.6.22-rc5~50^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28356a1679006b110215596e057f304ef3083922;p=pandora-kernel.git [CIFS] Fix oops on failed cifs mount (in kthread_stop) If the cifs demultiplex thread wakes up and exits (zeroing server->tsk) before kthread_stop is called, the cifs_mount code could pass a null pointer to kthread_stop Thanks to akpm, Dave Young and Shaggy for suggesting earlier versions of this patch. CC: akpm@linux-foundatior.org Signed-off-by: Dave Young Signed-off-by: Dave Kleikamp Signed-off-by: Steve French --- Reading git-diff-tree failed