summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShaojie Sun <sunshaojie@kylinos.cn>2026-09-03 14:48:28 +0800
committerChristian Brauner <brauner@kernel.org>2026-09-04 12:46:45 +0200
commit4141e148e629eb9ca161354635ae40de55d8f552 (patch)
treedd510c46a5dbe3e97a7418b4f1f16cbd62e2c3cd /tools/lib/python
parentd54cc3a5272c29129ec53ac9a35ba694df7eea29 (diff)
downloadlinux-next-4141e148e629eb9ca161354635ae40de55d8f552.tar.gz
linux-next-4141e148e629eb9ca161354635ae40de55d8f552.zip
fs: namespace: drop BUG_ON() in copy_mnt_ns()
The sole caller, create_new_namespaces(), always passes a valid mount namespace pointer from the task's nsproxy. The other copy_*_ns() helpers, e.g. copy_time_ns() and copy_pid_ns(), don't perform such a check either. Drop the BUG_ON() for consistency with them. Signed-off-by: Shaojie Sun <sunshaojie@kylinos.cn> Link: https://patch.msgid.link/20260903064828.126643-4-sunshaojie@kylinos.cn Reviewed-by: Tao Cui <cuitao@kylinos.cn> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions