HomeFreeBSD

Fix remount when setting multiple properties.

Description

Fix remount when setting multiple properties.

The previous code was checking zfs_is_namespace_prop() only for the
last property on the list. If one was not "namespace", then remount
wasn't called. To fix that move zfs_is_namespace_prop() inside the
loop and remount if at least one of properties was "namespace".

Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15000

Details

Provenance
mavAuthored on Jun 30 2023, 3:36 PM
GitHub <noreply@github.com>Committed on Jun 30 2023, 3:36 PM
Parents
rG24554082bd93: contrib: dracut: Conditionalize copying of libgcc_s.so.1 to glibc only
Branches
Unknown
Tags
Unknown