commit | c6567ed1402c55e19b012e66a8398baec2a726f3 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jan 04 12:23:21 2013 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jan 04 12:53:59 2013 -0500 |
tree | ab6e59ecaacae821c6b6557e33e56a3c6a711803 | |
parent | e25fbe380c4e3c09afa98bcdcd9d3921443adab8 [diff] |
SUNRPC: Ensure that we free the rpc_task after cleanups are done This patch ensures that we free the rpc_task after the cleanup callbacks are done in order to avoid a deadlock problem that can be triggered if the callback needs to wait for another workqueue item to complete. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Weston Andros Adamson <dros@netapp.com> Cc: Tejun Heo <tj@kernel.org> Cc: Bruce Fields <bfields@fieldses.org> Cc: stable@vger.kernel.org