From: Alan Stern Date: Tue, 11 Dec 2007 21:02:23 +0000 (-0500) Subject: USB: fix locking loop by avoiding flush_scheduled_work X-Git-Tag: v2.6.24-rc6~60^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48bd977e0dd8c17081d12242bfc09d743ea0d26;p=pandora-kernel.git USB: fix locking loop by avoiding flush_scheduled_work This patch (as1027) replaces a call to flush_scheduled_work() -- a dangerous routine to invoke, especially while holding any sort of lock -- with calls to cancel_work_sync() and cancel_delayed_work_sync(). This fixes Bugzilla #9532. Signed-off-by: Alan Stern CC: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed