Subject: CVS commit: syssrc
To: None <>
From: Konrad Schroder <>
List: source-changes
Date: 10/15/2000 02:22:17
Module Name:	syssrc
Committed By:	perseant
Date:		Sat Oct 14 23:22:16 UTC 2000

Modified Files:
	syssrc/sys/ufs/lfs: lfs_inode.c lfs_vnops.c

Log Message:
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.44 -r1.45 syssrc/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.45 -r1.46 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.