From: Chris Leech Date: Tue, 25 Aug 2009 20:59:08 +0000 (-0700) Subject: [SCSI] libfcoe: fcoe_ctlr_destroy use cancel_work_sync instead of flush_work X-Git-Tag: v2.6.32-rc1~689^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b7cfaee487caef913be978dce60896fe741268;p=pandora-kernel.git [SCSI] libfcoe: fcoe_ctlr_destroy use cancel_work_sync instead of flush_work Use cancel_work_sync() in place of flush_work(), so that fcoe_ctlr_destroy() can be called from a workqueue. Also, purge the receive queue after the recv_work has been cancled because if recv_work isn't run it's not guaranteed to be empty now. Signed-off-by: Chris Leech Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed