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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user