Thread (101 messages) 101 messages, 14 authors, 2025-11-25

Re: [PATCH v2 10/50] configfs, securityfs: kill_litter_super() not needed

From: Paul Moore <paul@paul-moore.com>
Date: 2025-10-28 23:58:54
Also in: bpf, linux-efi, linux-fsdevel, linux-mm, linux-usb, ocfs2-devel, selinux

On Mon, Oct 27, 2025 at 8:46 PM Al Viro [off-list ref] wrote:
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/configfs/mount.c | 2 +-
 security/inode.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Paul Moore <redacted> (LSM)

-- 
paul-moore.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help