[PATCH] selinuxfs_fill_super(): don't bother with selinuxfs_info_free() on failures

Christian Brauner brauner at kernel.org
Mon Jun 16 14:19:30 UTC 2025


On Sun, Jun 15, 2025 at 03:01:54AM +0100, Al Viro wrote:
> [don't really care which tree that goes through; right now it's
> in viro/vfs.git #work.misc, but if somebody prefers to grab it
> through a different tree, just say so]
> 
> Failures in there will be followed by sel_kill_sb(), which will call
> selinuxfs_info_free() anyway.
> 
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
> ---

Reviewed-by: Christian Brauner <brauner at kernel.org>



More information about the Linux-security-module-archive mailing list