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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 27 2022, 4:19 PM
Parents
rGed16dd763579: Standardize RHEL version check in packages
Branches
Unknown
Tags
Unknown