From patchwork Wed Dec 13 04:00:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 13490322 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE69BBA3B; Wed, 13 Dec 2023 04:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RnuIwKpv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3940FC433C8; Wed, 13 Dec 2023 04:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702440074; bh=DRMYZj40lbcWfG2b2XHABri8yPBHqvMleMODO+067Q4=; h=From:To:Cc:Subject:Date:From; b=RnuIwKpvICnNkxkoQ4G5NyIrJVQ1JZ0A4IWhLvKjo8UYFU45J27Ouevh5RMtI8Fbt pjQPq/ehfu6+DPF8HvtVg6/1pXt6ZoqgB1KNrHtvMCWf6JY0h+/g9rkW2Vutcqc/lk c/+D70YAstXKvW7Nik6jQK67Gv3vmWKvux1UOseyiRPkofdWJq0m92649iuFo6E/uW Q4iUT1xYWgP+LJu5AkcvtOqi4vNVr5PylkV9LgD//M9hnByfy1xXOKaKfnt1APJMxO 8HQFJpj5rMgvHVMdTYWkMRDbU4T/GbQDTWVKRSvn+pAoIFgvOO7MRMETmQb3g86HH+ 2A7YlHNfcpmmA== From: Eric Biggers To: linux-fsdevel@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Josef Bacik , Christoph Hellwig Subject: [PATCH 0/3] Move fscrypt keyring destruction to after ->put_super Date: Tue, 12 Dec 2023 20:00:15 -0800 Message-ID: <20231213040018.73803-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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@kernel.org/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