@ilovezfs That looks good. Not sure why you need to cast away the const. Or check for p being null. You might use a for loop rather than while:
`for (int i = 0; deps[i] != SPA_FEATURE_NONE; i++)` --- Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/51#issuecomment-179658261
_______________________________________________ developer mailing list developer@open-zfs.org http://lists.open-zfs.org/mailman/listinfo/developer