HomeFreeBSD

FreeBSD: Fix 12.2-STABLE after AT_BENEATH MFC

Description

FreeBSD: Fix 12.2-STABLE after AT_BENEATH MFC

AT_BENEATH was merged to stable/12, where kern_unlinkat takes a
non-const path. DECONST the path passed to kern_unlinkat in the
case where AT_BENEATH is defined.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11139

Details

Provenance
freqlabsAuthored on Oct 30 2020, 10:19 PM
GitHub <noreply@github.com>Committed on Oct 30 2020, 10:19 PM
Parents
rG5fa356ea4424: Remove UIO_ZEROCOPY functions structures
Branches
Unknown
Tags
Unknown