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 btrfs and f2fs to release their 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) This applies to v6.7-rc5. Christoph Hellwig (1): btrfs: call btrfs_close_devices from ->kill_sb 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/btrfs/disk-io.c | 4 ++-- fs/btrfs/super.c | 7 ++----- fs/f2fs/super.c | 12 +++++++----- fs/super.c | 12 ++++++------ 4 files changed, 17 insertions(+), 18 deletions(-) base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 -- 2.43.0