Revert "NFS: add nfs_sb_deactive_async to avoid deadlock"
This reverts commit 324d003b0c
.
The deadlock turned out to be caused by a workqueue limitation that has
now been worked around in the RPC code (see comment in rpc_free_task).
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -95,7 +95,7 @@ static void nfs_async_unlink_release(void *calldata)
|
||||
|
||||
nfs_dec_sillycount(data->dir);
|
||||
nfs_free_unlinkdata(data);
|
||||
nfs_sb_deactive_async(sb);
|
||||
nfs_sb_deactive(sb);
|
||||
}
|
||||
|
||||
static void nfs_unlink_prepare(struct rpc_task *task, void *calldata)
|
||||
|
Reference in New Issue
Block a user