NTB: No sleeping in interrupt context
authorJon Mason <jon.mason@intel.com>
Sat, 19 Jan 2013 09:02:19 +0000 (02:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Jan 2013 23:45:51 +0000 (15:45 -0800)
commit7b4f2d3c3b8285fe63cae6b92c7b7030d1d1aa7c
treec333b933cbedd409b8ed2c3b668d7134d707c3c8
parentef114ed5064d35982c16f5cbb338fb586ef48bf7
NTB: No sleeping in interrupt context

Move all cancel_delayed_work_sync to a work thread to prevent sleeping
in interrupt context (when the NTB link goes down).  Caught via
'Sleep inside atomic section checking'

Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/ntb_transport.c