linux/fs/namespace.c
Christian Brauner 2d68f8a737 mount: handle NULL values in mnt_ns_release()
commit 6c7ca6a02f upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-19 16:34:07 +02:00

5910 lines
146 KiB