Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/module/zcommon/zfs_namecheck.c
Context not available. | |||||
return (-1); | return (-1); | ||||
} | } | ||||
/* We really do not need this historical artifact | |||||
* as this was entirely a Solaris and OpenSolaris concern | |||||
* Dennis Clarke dclarke@blastwave.org | |||||
* | |||||
if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) { | if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) { | ||||
if (why) | if (why) | ||||
*why = NAME_ERR_DISKLIKE; | *why = NAME_ERR_DISKLIKE; | ||||
return (-1); | return (-1); | ||||
} | } | ||||
*/ | |||||
return (0); | return (0); | ||||
} | } | ||||
Context not available. |