NFSv4: nfs4_locku_done must release the sequence id
commit 2b1bc308f4 upstream.
If the state recovery machinery is triggered by the call to
nfs4_async_handle_error() then we can deadlock.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6fbd3cdb93
commit
f354d0c0ca
1 changed files with 1 additions and 0 deletions
|
|
@ -4116,6 +4116,7 @@ static void nfs4_locku_done(struct rpc_task *task, void *data)
|
|||
nfs_restart_rpc(task,
|
||||
calldata->server->nfs_client);
|
||||
}
|
||||
nfs_release_seqid(calldata->arg.seqid);
|
||||
}
|
||||
|
||||
static void nfs4_locku_prepare(struct rpc_task *task, void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue