]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
configfs, securityfs: kill_litter_super() not needed
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 10 Mar 2025 03:54:44 +0000 (23:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Nov 2025 06:35:02 +0000 (01:35 -0500)
commitb1494e6bc47c18df9c759445fb03764a3bdb7ec3
treeae8441f23d2dc7cc4d7edbb7f16ed87108980750
parent23cbc7a795853bc7a8d0512b7c686ef879f6e909
configfs, securityfs: kill_litter_super() not needed

These are guaranteed to be empty by the time they are shut down;
both are single-instance and there is an internal mount maintained
for as long as there is any contents.

Both have that internal mount pinned by every object in root.

In other words, kill_litter_super() boils down to kill_anon_super()
for those.

Reviewed-by: Joel Becker <jlbec@evilplan.org>
Acked-by: Paul Moore <paul@paul-moore> (LSM)
Acked-by: Andreas Hindborg <a.hindborg@kernel.org> (configfs)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/mount.c
security/inode.c