vxge: add missing flush of reset_task
authorTejun Heo <tj@kernel.org>
Wed, 15 Dec 2010 04:03:29 +0000 (04:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 05:54:32 +0000 (21:54 -0800)
commitba27d85c96c57111ae8acfa959643e5ce8e4bcbe
tree3bf910630c93ed9d6fed31f972b1a1953df1137b
parent71d9dec24dce548bf699815c976cf063ad9257e2
vxge: add missing flush of reset_task

Commit 6e07ebd84 (drivers/net: remove unnecessary
flush_scheduled_work() calls) incorrectly removed the flush call
without replacing it with the appropriate work specific operation.
Fix it by flushing vdev->reset_task explicitly.

Pointed out by Jon Mason.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jon Mason <jon.mason@exar.com>
Acked-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c