X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsunrpc%2Fauth_null.c;h=f112f63e3705ec17e1ee5eea1b97e79e52c78d4b;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=868ac2b22e1a41da5eecbd2a9f787d36487a1b02;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c index 868ac2b22..f112f63e3 100644 --- a/net/sunrpc/auth_null.c +++ b/net/sunrpc/auth_null.c @@ -100,7 +100,8 @@ nul_marshal(struct rpc_task *task, u32 *p, int ruid) static int nul_refresh(struct rpc_task *task) { - return task->tk_status = -EACCES; + task->tk_msg.rpc_cred->cr_flags |= RPCAUTH_CRED_UPTODATE; + return 0; } static u32 *