diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-08-25 22:59:08 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 19:07:28 +0200 |
commit | a4b7cfaee487caef913be978dce60896fe741268 (patch) | |
tree | 42de6baeef3390b94b1cb99a05cc4c44d94cefce /lib/rbtree.c | |
parent | [SCSI] fcoe: Add sysfs parameter to fcoe for minimum DDP read I/O size (diff) | |
download | linux-a4b7cfaee487caef913be978dce60896fe741268.tar.xz linux-a4b7cfaee487caef913be978dce60896fe741268.zip |
[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 <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions