Re: (subset) [PATCH v2 0/3] drop BUG_ON() NULL checks in namespace copy helpers

From: Christian Brauner

Date: Fri Sep 04 2026 - 07:29:55 EST


On Thu, 03 Sep 2026 14:48:25 +0800, Shaojie Sun wrote:
> drop BUG_ON() NULL checks in namespace copy helpers
>
> v2:
> - Reworked into a 3-patch series that simply drops the BUG_ON()s
> instead of replacing them with WARN_ON_ONCE() + error return,
> following the discussion with Tejun. Now also covers copy_utsname()
> and copy_mnt_ns() so that all copy_*_ns() helpers behave
> consistently.
>
> [...]

Applied to the namespace-7.4.misc branch of the vfs/vfs.git tree.
Patches in the namespace-7.4.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: master

[2/3] uts: drop BUG_ON() in copy_utsname()
https://git.kernel.org/vfs/vfs/c/d54cc3a5272c
[3/3] fs: namespace: drop BUG_ON() in copy_mnt_ns()
https://git.kernel.org/vfs/vfs/c/4141e148e629