diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-14 08:48:58 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:30:21 +0200 |
commit | 136994f74e8f234d4f9c70c0d810bdeae53fc722 (patch) | |
tree | 3b5527d3a7cbddd7b20a59c217342d75467ebf45 /fs/tracefs/inode.c | |
parent | c8e09674007be8aeb6e49515238792dc3d690c4e (diff) |
fix locking in efi_secret_unlink()
[ Upstream commit 2c58d42de71f9c73e40afacc9d062892d2cc8862 ]
We used to need securityfs_remove() to undo simple_pin_fs() done when
the file had been created and to drop the second extra reference
taken at the same time. Now that neither is needed (or done by
securityfs_remove()), we can simply call simple_unlink() and be done
with that - the broken games with locking had been there only for the
sake of securityfs_remove().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/tracefs/inode.c')
0 files changed, 0 insertions, 0 deletions