Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/05/1999 08:49:17
Module Name:	syssrc
Committed By:	jdolecek
Date:		Fri Nov  5 16:49:17 UTC 1999

Modified Files:
	syssrc/sys/msdosfs: msdosfs_lookup.c

Log Message:
msdosfs_lookup(): initialize denode's de_fndcnt properly even for
"found" case. This information is important for msdosfs_rename(),
when the target filename is "long" and the file exists -
it gets unlinked and the entries are re-used, but if de_fndcnt was
left zero, createde() thinks there are no entries to store the
long filename of moved file and long filename is "lost".

Fixes PR #5468 by Dave Huang <khym@bga.com>.

Tested by: jdolecek
Reviewed by: Wolfgang Solfrank


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 syssrc/sys/msdosfs/msdosfs_lookup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.