summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-02-26 02:06:37 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-16 01:35:05 -0500
commitcd08d17f39b7b7c54bfa35437fa4cd4e144d8179 (patch)
tree3ff305dcee1528576b7b6537dbbf4526db2a6ecd /rust/helpers/workqueue.c
parentd1e4a99358ea86854882ee325d4ceedd97f46e97 (diff)
convert selinuxfs
Tree has invariant part + two subtrees that get replaced upon each policy load. Invariant parts stay for the lifetime of filesystem, these two subdirs - from policy load to policy load (serialized on lock_rename(root, ...)). All object creations are via d_alloc_name()+d_add() inside selinuxfs, all removals are via simple_recursive_removal(). Turn those d_add() into d_make_persistent()+dput() and that's mostly it. Acked-by: Paul Moore <paul@paul-moore.com> Reviewed-by: Stephen Smalley <stephen.smalley.work@gmail.com> Tested-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions