From: Lars Ellenberg Date: Wed, 22 Aug 2012 12:59:06 +0000 (+0200) Subject: drbd: fix potential list_add corruption X-Git-Tag: v3.8-rc1~78^2~18^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b792b655cdf79d4d90b4d46fa37e260ba0296850;p=pandora-kernel.git drbd: fix potential list_add corruption If the md_sync_timer triggers a second time, while the work queued during the first time is still pending, this could result in list_add() of an already added item, and corrupt the work item list. This likely only triggered because of the erroneous batch-dequeueing of work items fixed with drbd: dequeue single work items in wait_for_work() Still, skip queueing if md_sync_work is already queued. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed