diff options
author | Sargun Dhillon <sargun@sargun.me> | 2020-10-12 14:43:39 -0700 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-10-13 15:56:54 -0400 |
commit | 61ca2c4afd9d108899e0fa48e7b1cfc9afe80596 (patch) | |
tree | 8f411540d3723a38a7b53c99336fc0f49d25a63c /CREDITS | |
parent | a2d24bcb97dc7b0be1cb891e60ae133bdf36c786 (diff) |
NFS: Only reference user namespace from nfs4idmap struct instead of cred
The nfs4idmapper only needs access to the user namespace, and not the
entire cred struct. This replaces the struct cred* member with
struct user_namespace*. This is mostly hygiene, so we don't have to
hold onto the cred object, which has extraneous references to
things like user_struct. This also makes switching away
from init_user_ns more straightforward in the future.
Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions