Re: [PATCH v2 48/50] convert securityfs

Paul Moore
2025-10-29T00:10:42Z

On Mon, Oct 27, 2025 at 8:46 PM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> securityfs uses simple_recursive_removal(), but does not bother to mark
> dentries persistent. This is the only place where it still happens; get
> rid of that irregularity.
>
> * use simple_{start,done}_creating() and d_make_persitent(); kill_litter_super()
> use was already gone, since we empty the filesystem instance before it gets
> shut down.
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> security/inode.c | 33 ++++++++++++---------------------
> 1 file changed, 12 insertions(+), 21 deletions(-)

Much cleaner now.

Acked-by: Paul Moore <paul@paul-moore.com>

--
paul-moore.com