|
@@ -351,8 +351,8 @@ struct rpc_cred *
|
|
|
rpcauth_lookupcred(struct rpc_auth *auth, int flags)
|
|
rpcauth_lookupcred(struct rpc_auth *auth, int flags)
|
|
|
{
|
|
{
|
|
|
struct auth_cred acred = {
|
|
struct auth_cred acred = {
|
|
|
- .uid = current->fsuid,
|
|
|
|
|
- .gid = current->fsgid,
|
|
|
|
|
|
|
+ .uid = current_fsuid(),
|
|
|
|
|
+ .gid = current_fsgid(),
|
|
|
.group_info = current->group_info,
|
|
.group_info = current->group_info,
|
|
|
};
|
|
};
|
|
|
struct rpc_cred *ret;
|
|
struct rpc_cred *ret;
|