OpenZFS 5778 - nvpair_type_is_array() does not recognize DATA_TYPE_INT8_ARRAY
Authored by: Andriy Gapon <avg@icyb.net.ua> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Reviewed-by: Don Brady <dev.fs.zfs@gmail.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov> OpenZFS-issue: https://www.illumos.org/issues/5778 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/bf4d553 Closes #6580
This commit is contained in:
parent
24ded86e8d
commit
ecaebdbcf6
@ -1244,6 +1244,7 @@ nvpair_type_is_array(nvpair_t *nvp)
|
||||
data_type_t type = NVP_TYPE(nvp);
|
||||
|
||||
if ((type == DATA_TYPE_BYTE_ARRAY) ||
|
||||
(type == DATA_TYPE_INT8_ARRAY) ||
|
||||
(type == DATA_TYPE_UINT8_ARRAY) ||
|
||||
(type == DATA_TYPE_INT16_ARRAY) ||
|
||||
(type == DATA_TYPE_UINT16_ARRAY) ||
|
||||
|
Loading…
Reference in New Issue
Block a user