linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [md PATCH 0/4] Minor 'cred' improvements prepare for NFS conversion
@ 2018-01-31  5:15 NeilBrown
  2018-01-31  5:15 ` [PATCH 1/4] cred: add cred_fscmp() for comparing creds NeilBrown
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: NeilBrown @ 2018-01-31  5:15 UTC (permalink / raw)
  To: David Howells, Andrew Morton, Ingo Molnar, Anna Schumaker; +Cc: NFS, lkml

Hi,
 NFS and SUNRPC have an internal "rpc_cred" which plays two distinct
 roles, one of which is much the same as 'struct cred' (which didn't
 exist when rpc_cred was created).
 I want to replace that usage of rpc_cred with 'struct cred'.
 Doing so requires some minor improvements to cred.c and cred.h as
 follows.

 It isn't clear to me who "maintains" cred.c and cred.h, so I'm hoping
 that Andrew Morton will take these (if no-one complains).
 Alternately if I got one or two credible "Acked-by"s, they could go
 upstream through the NFS tree when the rest of the patches are ready.

Thanks,
NeilBrown


---

NeilBrown (4):
      cred: add cred_fscmp() for comparing creds.
      cred: add get_cred_rcu()
      cred: export get_task_cred().
      cred: allow get_cred() and put_cred() to be given NULL.


 include/linux/cred.h |   26 ++++++++++++++++++----
 kernel/cred.c        |   58 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 78 insertions(+), 6 deletions(-)

--
Signature


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-21 14:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31  5:15 [md PATCH 0/4] Minor 'cred' improvements prepare for NFS conversion NeilBrown
2018-01-31  5:15 ` [PATCH 1/4] cred: add cred_fscmp() for comparing creds NeilBrown
2018-01-31  5:15 ` [PATCH 3/4] cred: export get_task_cred() NeilBrown
2018-01-31  5:15 ` [PATCH 2/4] cred: add get_cred_rcu() NeilBrown
2018-01-31  5:15 ` [PATCH 4/4] cred: allow get_cred() and put_cred() to be given NULL NeilBrown
2018-03-21 14:49 ` [md PATCH 0/4] Minor 'cred' improvements prepare for NFS conversion Anna Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).