Skip to content

Commit f304a80

Browse files
author
Trond Myklebust
committed
NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn
We are not guaranteed that the credential will remain pinned. Fixes: 6129650 ("NFSv4: Avoid referencing the cred unnecessarily during NFSv4 I/O") Signed-off-by: Trond Myklebust <[email protected]>
1 parent 2b666a1 commit f304a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/nfs4proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6347,7 +6347,7 @@ static int _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred,
63476347
.rpc_client = server->client,
63486348
.rpc_message = &msg,
63496349
.callback_ops = &nfs4_delegreturn_ops,
6350-
.flags = RPC_TASK_ASYNC | RPC_TASK_CRED_NOREF | RPC_TASK_TIMEOUT,
6350+
.flags = RPC_TASK_ASYNC | RPC_TASK_TIMEOUT,
63516351
};
63526352
int status = 0;
63536353

0 commit comments

Comments
 (0)