linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fscrypt: rework filesystem-level keyring
@ 2022-08-19  7:15 Eric Biggers
  2022-08-19  7:15 ` [PATCH 1/2] fscrypt: stop using keyrings subsystem for fscrypt_master_key Eric Biggers
  2022-08-19  7:15 ` [PATCH 2/2] fscrypt: stop holding extra request_queue references Eric Biggers
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Biggers @ 2022-08-19  7:15 UTC (permalink / raw)
  To: linux-fscrypt
  Cc: linux-fsdevel, linux-block, linux-ext4, linux-f2fs-devel,
	Christoph Hellwig

This series reworks the filesystem-level keyring to not use the keyrings
subsystem as part of its internal implementation (except for ->mk_users,
which remains unchanged for now).  This fixes several issues, described
in the first patch.  This is also a prerequisite for removing the direct
use of struct request_queue from filesystem code, as discussed at
https://lore.kernel.org/linux-fscrypt/20220721125929.1866403-1-hch@lst.de/T/#u

Eric Biggers (2):
  fscrypt: stop using keyrings subsystem for fscrypt_master_key
  fscrypt: stop holding extra request_queue references

 fs/crypto/fscrypt_private.h |  74 ++++--
 fs/crypto/hooks.c           |  10 +-
 fs/crypto/inline_crypt.c    |  83 +++----
 fs/crypto/keyring.c         | 476 +++++++++++++++++++-----------------
 fs/crypto/keysetup.c        |  89 +++----
 fs/crypto/keysetup_v1.c     |   4 +-
 fs/crypto/policy.c          |   8 +-
 fs/super.c                  |   2 +-
 include/linux/fs.h          |   2 +-
 include/linux/fscrypt.h     |   4 +-
 10 files changed, 387 insertions(+), 365 deletions(-)


base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
-- 
2.37.1


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

end of thread, other threads:[~2022-08-19  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-19  7:15 [PATCH 0/2] fscrypt: rework filesystem-level keyring Eric Biggers
2022-08-19  7:15 ` [PATCH 1/2] fscrypt: stop using keyrings subsystem for fscrypt_master_key Eric Biggers
2022-08-19  7:15 ` [PATCH 2/2] fscrypt: stop holding extra request_queue references Eric Biggers

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).