[Bug 275871] [unionfs] [nullfs] [zfs] corrupt filesystem

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Dec 2023 05:05:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275871

Jason A. Harmening <jah@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jah@FreeBSD.org
           Assignee|fs@FreeBSD.org              |jah@FreeBSD.org

--- Comment #1 from Jason A. Harmening <jah@FreeBSD.org> ---
The fundamental issue here is that ZFS doesn't correctly respect
cnp->cn_namelen in its mkdir operation, which breaks unionfs shadow directory
creation.

I've filed https://github.com/openzfs/zfs/issues/15705 to address this
upstream, but in the meantime it can be worked around in unionfs using the
attached patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.