From: Bob Liu Date: Wed, 22 Jul 2015 06:40:10 +0000 (+0800) Subject: xen-blkback: replace work_pending with work_busy in purge_persistent_gnt() X-Git-Tag: omap-for-v4.3/fixes-merge-window~104^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53bc7dc004fecf39e0ba70f2f8d120a1444315d3;p=pandora-kernel.git xen-blkback: replace work_pending with work_busy in purge_persistent_gnt() The BUG_ON() in purge_persistent_gnt() will be triggered when previous purge work haven't finished. There is a work_pending() before this BUG_ON, but it doesn't account if the work is still currently running. CC: stable@vger.kernel.org Acked-by: Roger Pau Monné Signed-off-by: Bob Liu Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed