Re: [PATCH v2 35/50] convert selinuxfs

Paul Moore
2025-10-29T14:49:46Z

On Tue, Oct 28, 2025 at 11:24 PM Al Viro <viro@zeniv.linux.org.uk> wrote:
> On Tue, Oct 28, 2025 at 08:02:39PM -0400, Paul Moore wrote:
>
> > I suppose the kill_litter_super()->kill_anon_super() should probably
> > be pulled out into another patch as it's not really related to the
> > d_make_persistent() change,
>
> It very much is related - anything persistent left at ->kill_sb() time
> will be taken out by generic_shutdown_super(). If all pinned objects
> in there are marked persistent, kill_litter_super() becomes equivalent
> to kill_anon_super() for that fs.

Gotcha, thanks.

--
paul-moore.com