Subject: CVS commit: src/sys/ufs/lfs
To: None <>
From: Konrad Schroder <>
List: source-changes
Date: 03/20/2003 08:47:39
Module Name:	src
Committed By:	perseant
Date:		Thu Mar 20 06:47:38 UTC 2003

Modified Files:
	src/sys/ufs/lfs: lfs_inode.c

Log Message:
Hold the segment lock during truncation to prevent indirect blocks from
being written by lfs_updatemeta while lfs_truncate is also writing them,
a bug pointed out by YAMAMOTO Takashi <>.

To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/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.