Subject: CVS commit: syssrc
To: None <>
From: Manuel BOUYER <>
List: source-changes
Date: 03/11/2000 17:45:04
Module Name:	syssrc
Committed By:	bouyer
Date:		Sun Mar 12 01:45:03 UTC 2000

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

Log Message:
lfs_truncate: handle synlinks with length > maxsymlink_len as regular files.
For symlinks > 60 chars we were bzero'ing part of (struct inode) past the
actual inode struct, corrupting memory following the current (struct inode)
resuling in a 'panic: pool_get(lfsinopl): free list modified' later.
This could also be the cause of random panics. With this fix LFS seems to be
useable for me now.

To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 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.