freebsd_amp_hwpstate/sys/ufs/ufs
Kirk McKusick e6796b67d9 Move the truncation code out of vn_open and into the open system call
after the acquisition of any advisory locks. This fix corrects a case
in which a process tries to open a file with a non-blocking exclusive
lock. Even if it fails to get the lock it would still truncate the
file even though its open failed. With this change, the truncation
is done only after the lock is successfully acquired.

Obtained from:	 BSD/OS
2000-07-04 03:34:11 +00:00
..
dinode.h
dir.h
extattr.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
inode.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
quota.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ufs_bmap.c
ufs_disksubr.c
ufs_extattr.c Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
ufs_extern.h
ufs_ihash.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ufs_inode.c Move prtactive to vfs from ufs. It is used all over the place. 2000-06-27 07:46:22 +00:00
ufs_lookup.c
ufs_quota.c Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
ufs_readwrite.c
ufs_vfsops.c
ufs_vnops.c
ufsmount.h