diff options
author | Kees Cook <keescook@chromium.org> | 2023-12-05 21:26:15 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2023-12-09 01:15:44 +0300 |
commit | e2eeddefb046dbc771a6fa426f7f98fb25adfe68 (patch) | |
tree | 6d13eab45485bac3b613d323cdf15a5c75a3d726 /fs/ufs/file.c | |
parent | 6ba6ee8a59a8ac673d9a9415bdf1d0a27990dc45 (diff) | |
download | linux-e2eeddefb046dbc771a6fa426f7f98fb25adfe68.tar.xz |
pstore: inode: Convert mutex usage to guard(mutex)
Replace open-coded mutex handling with cleanup.h guard(mutex) and
scoped_guard(mutex, ...).
Cc: Guilherme G. Piccoli <gpiccoli@igalia.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: <linux-hardening@vger.kernel.org>
Link: https://lore.kernel.org/r/20231205182622.1329923-2-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/ufs/file.c')
0 files changed, 0 insertions, 0 deletions