summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/auth.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-02 06:42:53 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 06:16:08 -0800
commit4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278 (patch)
tree1d52d5be323c160ae98f35dd32c7f8109879354d /fs/nfsd/auth.c
parent03bc6d1cc1759e6b5959cacc02a19ef36e95e741 (diff)
downloadop-kernel-dev-4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278.zip
op-kernel-dev-4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278.tar.gz
nfsd: Store ex_anon_uid and ex_anon_gid as kuids and kgids
Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/nfsd/auth.c')
-rw-r--r--fs/nfsd/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
index 34a10d7..4d6642b 100644
--- a/fs/nfsd/auth.c
+++ b/fs/nfsd/auth.c
@@ -58,7 +58,7 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)
for (i = 0; i < rqgi->ngroups; i++) {
if (gid_eq(GLOBAL_ROOT_GID, GROUP_AT(rqgi, i)))
- GROUP_AT(gi, i) = make_kgid(&init_user_ns, exp->ex_anon_gid);
+ GROUP_AT(gi, i) = exp->ex_anon_gid;
else
GROUP_AT(gi, i) = GROUP_AT(rqgi, i);
}
OpenPOWER on IntegriCloud