Print this page
Adding AoE support to nza-kernel
@@ -16,14 +16,17 @@
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
* Copyright 2012 Milan Jurik. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
@@ -533,12 +536,14 @@
if ((len = strlen(mbString + 4)) != SNS_EUI_16) {
return (-1);
} else if (checkHexUpper(mbString + 4) != 0) {
return (-1);
}
- } else {
- return (-1);
+ /*
+ * If none of iqn., wwn., and eui. matches, it might be a
+ * name string for AoE.
+ */
}
/*
* We have a validated name string.
* Go ahead and set the length and copy it.