summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-03 03:30:31 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-12-19 21:52:46 +0300
commit04d1532bd0b93cc4d0056f27da1591f086d341a6 (patch)
tree6e59c199cc07cf15d0f30bb3d628f690a46fee0e /net/sunrpc/auth.c
parent2edd8d746e51229705367528e95e5b49bccfa76e (diff)
downloadlinux-04d1532bd0b93cc4d0056f27da1591f086d341a6.tar.xz
SUNRPC discard cr_uid from struct rpc_cred.
Just use ->cr_cred->fsuid directly. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth.c')
-rw-r--r--net/sunrpc/auth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index a07a7c59d3a4..1ff9768f5456 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -655,7 +655,6 @@ rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred,
cred->cr_ops = ops;
cred->cr_expire = jiffies;
cred->cr_cred = get_cred(acred->cred);
- cred->cr_uid = acred->cred->fsuid;
}
EXPORT_SYMBOL_GPL(rpcauth_init_cred);