HomeFreeBSD

spl: Use a clearer name for the user namespace fd

Description

spl: Use a clearer name for the user namespace fd

This fd has nothing to do with cleanup, that's just the name of the
field in zfs_cmd_t that was used to pass it to the kernel.

Call it what it is, an fd for a user namespace.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #13554

Details

Provenance
freqlabsAuthored on Jun 13 2022, 8:30 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 14 2022, 3:14 PM
Parents
rGdef1a401f44a: libzfs: zfs_userns: Don't leak the namespace fd
Branches
Unknown
Tags
Unknown

Event Timeline