delphij 0e6cabaab1 Fix the check in dircheck() on namlen.
The value of namlen is copied from on-disk d_namlen, which is a 8-bit
unsigned integer which can never exceed MAXNAMLEN (255) so the test is
always true.  Moreover, UFS does not allow d_namelen being zero.

Change namlen from u_int to u_int8_t, and replace the unneeded test
with a useful test.

PR:		bin/160339
Submitted by:	Eugene Grosbein <eugen grosbein.pp.ru>
MFC after:	2 weeks
Approved by:	re (kib)
2011-09-02 17:05:34 +00:00
..
2010-08-23 22:24:11 +00:00
2010-02-15 14:07:40 +00:00
2010-08-06 14:33:42 +00:00
2010-08-23 22:24:11 +00:00
2011-07-13 05:32:55 +00:00
2010-03-02 16:58:04 +00:00
2011-08-20 17:05:11 +00:00
2011-01-25 22:25:16 +00:00
2011-03-23 13:44:09 +00:00
2011-07-01 19:22:27 +00:00
2010-03-10 18:51:13 +00:00
2010-06-20 12:52:33 +00:00
2010-12-19 13:40:38 +00:00
2011-04-14 08:53:04 +00:00
2010-12-08 15:12:37 +00:00
2011-06-24 07:29:04 +00:00
2011-06-02 09:56:42 +00:00