This series moves the fscrypt keyring destruction to after ->put_super, as this will be needed by the btrfs fscrypt support. To make this possible, it also changes f2fs to release its block devices after generic_shutdown_super() rather than before. This supersedes "[PATCH] fscrypt: move the call to fscrypt_destroy_keyring() into ->put_super()" (https://lore.kernel.org/linux-fscrypt/20231206001325.13676-1-ebiggers@xxxxxxxxxx/T/#u) Changed in v2: - Added a comment to f2fs patch. - Dropped btrfs patch from series; it will go in separately. - Added some Reviewed-bys. Eric Biggers (1): f2fs: move release of block devices to after kill_block_super() Josef Bacik (1): fs: move fscrypt keyring destruction to after ->put_super fs/f2fs/super.c | 13 ++++++++----- fs/super.c | 12 ++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) base-commit: fbafc3e621c3f4ded43720fdb1d6ce1728ec664e -- 2.43.0