[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	csapuntz_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2001/07/15 20:56:48

Modified files:
	sys/ufs/ext2fs : ext2fs_inode.c 
	sys/ufs/ffs    : ffs_inode.c 
	sys/ufs/ufs    : ufs_inode.c 

Log message:
Don't try to truncate anything except for symlinks, directories, and
regular files.

ftruncate and truncate that go through FFS/EXT2FS/MFS will now return
EINVAL when done on devices.

Bug introduced when VOP_TRUNCATE was removed, thus removing spec_truncate.

Thanks to millert@ for tracking this one down.




Visit your host, monkey.org