From: Arjan van de Ven Date: Sun, 11 Jan 2009 15:35:01 +0000 (+0000) Subject: async: fix __lowest_in_progress() X-Git-Tag: v2.6.29-rc2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37a76bd4f1b716949fc38a6842e89f0ccb8384d0;p=pandora-kernel.git async: fix __lowest_in_progress() At 37000 feet somewhere near Greenland I woke up from a half-sleep with the realisation that __lowest_in_progress() is buggy. After landing I checked and there were indeed 2 problems with it; this patch fixes both: * The order of the list checks was wrong * The locking was not correct. Signed-off-by: Arjan van de Ven Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed