Subject: CVS commit: src/sys/ufs/ufs
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 02/06/2007 20:49:20
Module Name: src
Committed By: bouyer
Date: Tue Feb 6 20:49:20 UTC 2007
Modified Files:
src/sys/ufs/ufs: ufs_lookup.c
Log Message:
in ufs_dirremove swap ep->d_reclen before use if needed (affect UFS_DIRHASH
only).
While there remove an unneeded swap before compare against 0 in ufs_direnter().
Both pointed out by Pawel Jakub Dawidek on tech-kern@, thanks !
To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/ufs/ufs/ufs_lookup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.