summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
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 /include/linux/sunrpc
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 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/auth.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index 5486082d3d63..eed3cb16ccf1 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -58,8 +58,6 @@ struct rpc_cred {
refcount_t cr_count; /* ref count */
const struct cred *cr_cred;
- kuid_t cr_uid;
-
/* per-flavor data */
};
#define RPCAUTH_CRED_NEW 0