aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-05-14 14:48:58 +0000
committerAl Viro <[email protected]>2025-06-11 22:00:31 +0000
commit2c58d42de71f9c73e40afacc9d062892d2cc8862 (patch)
treee29faa87924819c287dd10d7fb1d472480fe359a /rust/helpers/helpers.c
parentsecurityfs: pin filesystem only for objects directly in root (diff)
downloadkernel-2c58d42de71f9c73e40afacc9d062892d2cc8862.tar.gz
kernel-2c58d42de71f9c73e40afacc9d062892d2cc8862.zip
fix locking in efi_secret_unlink()
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 <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions