diff options
author | Kees Cook <keescook@chromium.org> | 2023-12-05 10:26:15 -0800 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-26 18:18:19 -0400 |
commit | 87a51728e99e914ccbb69b998fde2a12dc9f8012 (patch) | |
tree | 6dd8bc7e7a50fdf9a4423133c208059ee6f9e829 /fs/file_table.c | |
parent | 9c1a9419719a3e49ab60323a33a72392ccd78802 (diff) | |
download | linux-stable-87a51728e99e914ccbb69b998fde2a12dc9f8012.tar.gz linux-stable-87a51728e99e914ccbb69b998fde2a12dc9f8012.tar.bz2 linux-stable-87a51728e99e914ccbb69b998fde2a12dc9f8012.zip |
pstore: inode: Convert mutex usage to guard(mutex)
[ Upstream commit e2eeddefb046dbc771a6fa426f7f98fb25adfe68 ]
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>
Stable-dep-of: a43e0fc5e913 ("pstore: inode: Only d_invalidate() is needed")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions