Re: [PATCH] fscrypt: Use lock guards for mutexes
From: Eric Biggers
Date: Sun Jul 05 2026 - 15:11:38 EST
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 <ebiggers@xxxxxxxxxx>
> ---
>
> 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