Files
android_kernel_xiaomi_sm8450/fs/nfs
NeilBrown 97f68c6b02 SUNRPC: add 'struct cred *' to auth_cred and rpc_cred
The SUNRPC credential framework was put together before
Linux has 'struct cred'.  Now that we have it, it makes sense to
use it.
This first step just includes a suitable 'struct cred *' pointer
in every 'struct auth_cred' and almost every 'struct rpc_cred'.

The rpc_cred used for auth_null has a NULL 'struct cred *' as nothing
else really makes sense.

For rpc_cred, the pointer is reference counted.
For auth_cred it isn't.  struct auth_cred are either allocated on
the stack, in which case the thread owns a reference to the auth,
or are part of 'struct generic_cred' in which case gc_base owns the
reference, and "acred" shares it.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-12-19 13:52:44 -05:00
..
2018-08-09 12:56:38 -04:00
2018-08-09 12:56:38 -04:00
2018-08-09 12:56:39 -04:00
2012-07-30 19:06:41 -04:00
2018-09-30 15:35:17 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2018-10-23 12:22:21 -04:00
2018-05-31 15:02:16 -04:00