diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-11-07 00:08:59 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 09:55:58 -0800 |
commit | ffda96ca180ee1def996fd9a63c5a3d620caf223 (patch) | |
tree | 2a0ec49cfe89c1016de096438b1f984bcbd77835 /net/unix/af_unix.c | |
parent | a414c208c07d29b404d07665ea6ab1bc564ade42 (diff) |
JFFS2: Fix lack of locking in thread_should_wake()
commit b27cf88e9592953ae292d05324887f2f44979433 upstream
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 <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions