linux/fs/namespace.c
Christian Brauner 99ae3e70a2 mount: handle NULL values in mnt_ns_release()
[ Upstream commit 6c7ca6a02f ]

When calling in listmount() mnt_ns_release() may be passed a NULL
pointer. Handle that case gracefully.

Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-19 16:37:44 +02:00

6476 lines
161 KiB