From: Duncan Sands Date: Thu, 5 Oct 2006 07:56:44 +0000 (+0200) Subject: usbatm: fix tiny race X-Git-Tag: v2.6.19-rc3~137^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf40d62c70128990cf2e8775853cc3287cd7ce3;p=pandora-kernel.git usbatm: fix tiny race If usbatm_do_heavy_init finishes before usbatm_heavy_init writes the pid, the disconnect method could shoot down the wrong process if the pid has been recycled. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed