zfs/lib
Alexander Motin 6e79bcd356 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
2023-07-13 08:48:05 -07:00
..
libavl Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libefi Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libicp Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libnvpair Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libshare Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libspl linux: libspl: zone: () -> (void) 2022-12-01 12:39:44 -08:00
libtpool Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libunicode Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libuutil Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzfs Fix remount when setting multiple properties. 2023-07-13 08:48:05 -07:00
libzfs_core Add the ability to uninitialize 2023-05-26 10:09:04 -07:00
libzfsbootenv Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzpool set_global_var() should not pass NULL pointers to dlclose() 2022-12-01 12:39:42 -08:00
libzstd Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
libzutil Use setproctitle to report progress of zfs send 2023-03-29 14:45:34 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00