mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
NFSv4: Revoke the delegation on success in nfs4_delegreturn_done()
If the delegation was successfully returned, then mark it as revoked. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
f2d47b5502
commit
d51f91d262
3 changed files with 38 additions and 0 deletions
|
@ -6214,6 +6214,7 @@ static void nfs4_delegreturn_done(struct rpc_task *task, void *calldata)
|
|||
if (exception.retry)
|
||||
goto out_restart;
|
||||
}
|
||||
nfs_delegation_mark_returned(data->inode, data->args.stateid);
|
||||
data->rpc_status = task->tk_status;
|
||||
return;
|
||||
out_restart:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue