aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/spl/spl-kmem-cache.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-11-13 09:23:14 -0800
committerGitHub <[email protected]>2019-11-13 09:23:14 -0800
commit94a570e39c35522ad3bedf6f7873ca18e6422e91 (patch)
tree64af442db4d5b57bb45caa954ec5ec71a7efbe76 /module/os/linux/spl/spl-kmem-cache.c
parentc5ebfbbe1978d4488f68489aadf003774e7e4672 (diff)
Fix `zpool create -o <property>` error message
When `zpool create -o <property>` is run without root permissions and the pool property requested is not specifically enumerated in zpool_valid_proplist(). Then an incorrect error message referring to an invalid property is printed rather than the expected permission denied error. Specifying a pool property at create time should be handled the same way as filesystem properties in zfs_valid_proplist(). There should not be default zfs_error_aux() set for properties which are not listed. Reviewed-by: loli10K <[email protected]> Reviewed-by: Kjeld Schouten <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #9550 Closes #9568
Diffstat (limited to 'module/os/linux/spl/spl-kmem-cache.c')
0 files changed, 0 insertions, 0 deletions