From: Lars Ellenberg Date: Wed, 22 Aug 2012 09:47:14 +0000 (+0200) Subject: drbd: dequeue single work items in wait_for_work() X-Git-Tag: v3.8-rc1~78^2~18^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc317a9ecd641b78a4b237cb22b30ecf11443c77;p=pandora-kernel.git drbd: dequeue single work items in wait_for_work() As long as we still use drbd_queue_work_front(), we must only dequeue the single first item during normal operation. The comment in drbd_worker() even says so, but bc8a5a1 drbd: remove struct drbd_tl_epoch objects (barrier works) introduced the batch dequeueing again via list_splice_init() in wait_for_work(). Change back to list_move() of the first item, if any. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed