HomeFreeBSD

FreeBSD: libspl: Add locking around statfs globals

Description

FreeBSD: libspl: Add locking around statfs globals

Makes getmntent and getmntany thread-safe for external consumers of
libzfs zpool_disable_datasets, zfs_iter_mounted, libzfs_mnttab_update,
libzfs_mnttab_find.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #13484

Details

Provenance
freqlabsAuthored on May 24 2022, 4:40 PM
GitHub <noreply@github.com>Committed on May 24 2022, 4:40 PM
Parents
rG3c356622994f: Modified ncompress requirement in RPM to exclude RHEL9
Branches
Unknown
Tags
Unknown