[PATCH v2 48/50] convert securityfs

Paul Moore paul at paul-moore.com
Wed Oct 29 11:10:29 AEDT 2025


On Mon, Oct 27, 2025 at 8:46 PM Al Viro <viro at 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 at zeniv.linux.org.uk>
> ---
>  security/inode.c | 33 ++++++++++++---------------------
>  1 file changed, 12 insertions(+), 21 deletions(-)

Much cleaner now.

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

-- 
paul-moore.com


More information about the Linuxppc-dev mailing list