summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-05-09 10:01:37 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-16 09:35:03 +0300
commiteec876df5e7647bca03b72e0bcecb2e8bf0390a5 (patch)
tree4429aa73b5d408535e5f9d960b517aa1c8bb40bb /scripts/patch-kernel
parent5a8993a15a79f03cd1a43ddc071d0e49a1247cd5 (diff)
downloadlinux-eec876df5e7647bca03b72e0bcecb2e8bf0390a5.tar.xz
convert pstore
object creation by d_alloc_name()+d_add() in pstore_mkfile(), removal - via normal VFS codepaths (with ->unlink() using simple_unlink()) or in pstore_put_backend_records() via locked_recursive_removal() Replace d_add() with d_make_persistent()+dput() - that's what really happens there. The reference that goes into record->dentry is valid only until the unlink (and explicitly cleared by pstore_unlink()). Reviewed-by: Kees Cook <kees@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions