]> Gentwo Git Trees - linux/.git/commit
nstree: simplify return
authorChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 12:20:20 +0000 (13:20 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 Oct 2025 09:16:24 +0000 (10:16 +0100)
commit36a304de2640fa15637fa95d2e79d23ad266ef68
tree665c68e9ac2fc3336b09cdeb1b5010de9db7e5ab
parent768b1565d9d1e1eebf7567f477f7f46c05a98a4d
nstree: simplify return

node_to_ns() checks for NULL and the assert isn't really helpful and
will have to be dropped later anyway.

Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-7-2e6f823ebdc0@kernel.org
Tested-by: syzbot@syzkaller.appspotmail.com
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/nstree.c