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 05:56:54
Module Name:	syssrc
Committed By:	tv
Date:		Wed Nov  1 03:56:54 UTC 2000

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

Log Message:
Pullup 1.45 [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.37.2.1 -r1.37.2.2 syssrc/sys/ufs/lfs/lfs_inode.c

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