On Sat, Dec 02, 2023 at 01:22:12PM -0800, Kees Cook wrote:
> Replace open-coded mutex handling with cleanup.h guard(mutex) and
> scoped_guard(mutex, ...).
>
> Cc: "Guilherme G. Piccoli"
> Cc: Tony Luck
> Cc: linux-hardening@vger.kernel.org
> Signed-off-by: Kees Cook
> ---
> fs/pstore/inode.c |
Replace open-coded mutex handling with cleanup.h guard(mutex) and
scoped_guard(mutex, ...).
Cc: "Guilherme G. Piccoli"
Cc: Tony Luck
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Kees Cook
---
fs/pstore/inode.c | 76 +++
1 file changed, 31 inser