On Mon, Oct 27, 2025 at 8:46 PM Al Viro <[email protected]> wrote: > > allocating dentry after the inode has been set up reduces the amount > of boilerplate - "attach this inode under that name and this parent > or drop inode in case of failure" simplifies quite a few places. > > Signed-off-by: Al Viro <[email protected]> > --- > security/selinux/selinuxfs.c | 160 +++++++++++++++-------------------- > 1 file changed, 66 insertions(+), 94 deletions(-)
Looks fine to me, thanks Al. If for some reason the rest of the patchset doesn't go anywhere, let me know and I can take this patch; it seems like a nice improvement independent of the rest. Acked-by: Paul Moore <[email protected]> -- paul-moore.com
