From: David Woodhouse Date: Fri, 31 Oct 2008 14:52:24 +0000 (+0000) Subject: [JFFS2] Fix lack of locking in thread_should_wake() X-Git-Tag: v2.6.28-rc4~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27cf88e9592953ae292d05324887f2f44979433;p=pandora-kernel.git [JFFS2] Fix lack of locking in thread_should_wake() The thread_should_wake() function trawls through the list of 'very dirty' eraseblocks, determining whether the background GC thread should wake. Doing this without holding the appropriate locks is a bad idea. OLPC Trac #8615 Signed-off-by: David Woodhouse Cc: stable@kernel.org --- Reading git-diff-tree failed