From: wwang Date: Wed, 3 Aug 2011 08:00:25 +0000 (+0800) Subject: staging:rts_pstor: fix thread synchronization flow X-Git-Tag: v3.1-rc2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f704648281831fbb8a4ca1acbe18cb84bc0267c8;p=pandora-kernel.git staging:rts_pstor: fix thread synchronization flow Using different completion variables to synchronize different kernel threads This patch fix a bug that may cause memory leak when driver disconnected. This is not a very urgent bug. Because with the default setting, driver disconnectting routine won't be called except when Linux is shut down. But if the option auto_delink_en is set, a small number of memory would leak out after memory card unplugged. Signed-off-by: wwang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed