]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
NFS: Ensure that we free the rpc_task after read and write cleanups are done
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Jan 2013 17:47:04 +0000 (12:47 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Jan 2013 17:59:10 +0000 (12:59 -0500)
commit6db6dd7d3fd8f7c765dabc376493d6791ab28bd6
tree3328dca5352ad54f3d12d484ee5742a9a5b67542
parentc6567ed1402c55e19b012e66a8398baec2a726f3
NFS: Ensure that we free the rpc_task after read and write 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 [>= 3.5]
fs/nfs/read.c
fs/nfs/write.c