mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
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:
committed by
Greg Kroah-Hartman
parent
6fbd3cdb93
commit
f354d0c0ca
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user