- * Get pointer to next entry, and do consistency checking:
- * record length must be multiple of 4
- * record length must not be zero
- * entry must fit in rest of this DIRBLKSIZ block
- * record must be large enough to contain name
- * When dirchk is set we also check:
- * name is not longer than MAXNAMLEN
- * name must be as long as advertised, and null terminated
- * Checking last two conditions is done only when dirchk is
- * set, to save time.
+ * Get pointer to next entry.
+ * Full validation checks are slow, so we only check
+ * enough to insure forward progress through the
+ * directory. Complete checks can be run by patching
+ * "dirchk" to be true.