Subject: CVS commit: syssrc [netbsd-1-5]
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 11/01/2000 18:34:32
Module Name:	syssrc
Committed By:	tv
Date:		Wed Nov  1 16:34:32 UTC 2000

Modified Files:
	syssrc/sys/ufs/lfs [netbsd-1-5]: lfs_vnops.c

Log Message:
Fix pullup of 1.46 [perseant, toshii]:
In lfs_truncate, don't overcount the real blocks removed from the inode,
when deallocating a fragment that has not made it to disk yet.

Also, during dirops, give the directory vnode an extra reference in
SET_DIROP, to ensure its continued existence during SET_ENDOP, preventing
a possible NULL-dereference there.

These two changes should close PR #11064.


To generate a diff of this commit:
cvs rdiff -r1.38.2.3 -r1.38.2.4 syssrc/sys/ufs/lfs/lfs_vnops.c

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