Re: [PATCH] fscrypt: Use lock guards for mutexes

Eric Biggers <[email protected]> Sun, 5 Jul 2026 12:11:07 -0700
Newsgroups org.kernel.vger.linux-fscrypt,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <20260705191107.GA41916@quark>
On Thu, Jun 18, 2026 at 06:48:52PM +0000, Eric Biggers wrote:
> Replace all remaining calls to mutex_lock() and mutex_unlock() in
> fs/crypto/ with lock guards.  No functional change.
> 
> Signed-off-by: Eric Biggers <[email protected]>
> ---
> 
> This is intended to be taken through the fscrypt tree for 7.3
> 
>  fs/crypto/crypto.c   | 13 ++++---------
>  fs/crypto/keyring.c  |  3 +--
>  fs/crypto/keysetup.c | 23 +++++++++++------------
>  3 files changed, 16 insertions(+), 23 deletions(-)

Applied to https://git.kernel.org/pub/scm/fs/fscrypt/linux.git/log/?h=for-next

- Eric