mirror_zfs/module/zcommon
loli10K c24fa4b19a Fix "zpool add -n" for dedup, special and log devices
For dedup, special and log devices "zpool add -n" does not print
correctly their vdev type:

~# zpool add -n pool dedup /tmp/dedup special /tmp/special log /tmp/log
would update 'pool' to the following configuration:
	pool
	  /tmp/normal
	  /tmp/dedup
	  /tmp/special
	  /tmp/log

This could lead storage administrators to modify their ZFS pools to
unexpected and unintended vdev configurations.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9783 
Closes #9390
2020-01-06 15:40:06 -08:00
..
Makefile.in OpenZFS 7431 - ZFS Channel Programs 2018-02-08 15:28:18 -08:00
zfeature_common.c Disable sysfs feature checks on FreeBSD 2019-12-06 09:44:29 -08:00
zfs_comutil.c Fix "zpool add -n" for dedup, special and log devices 2020-01-06 15:40:06 -08:00
zfs_deleg.c Remove code for zfs remap 2019-06-24 16:44:01 -07:00
zfs_fletcher_aarch64_neon.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_avx512.c Add AVX512BW variant of fletcher 2019-10-30 12:26:14 -07:00
zfs_fletcher_intel.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_sse.c OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
zfs_fletcher_superscalar4.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_superscalar.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher.c Wrap module_param_call() routines under __linux__ 2019-12-03 09:56:15 -08:00
zfs_namecheck.c Make module tunables cross platform 2019-09-05 14:49:49 -07:00
zfs_prop.c Add FreeBSD jail support hooks 2019-12-11 11:58:37 -08:00
zfs_uio.c Linux 5.0 compat: access_ok() drops 'type' parameter 2019-01-28 10:11:10 -08:00
zpool_prop.c Fix typos in module/ 2019-08-30 14:32:18 -07:00
zprop_common.c Disable sysfs feature checks on FreeBSD 2019-12-06 09:44:29 -08:00