freebsd_amp_hwpstate/sys/dev
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
..
advansys
agp
aha
ahb
aic
aic7xxx
amd
amr
an
ar
ata Style police catches up with rev 1.26 of src/sys/sys/sysctl.h: 2000-07-03 09:35:31 +00:00
atkbdc
awi
bktr
buslogic
cardbus
ccd Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
cs
cy
dc
de
dec
dgb
dpt
ed
eisa
en
ep
ex
fb
fdc
fe
fxp
hea
hfa
ic
ida
ie
iicbus
isp Remove obsolete isp_dogactive tag. 2000-07-04 01:06:42 +00:00
ispfw A side effect of new 12160 f/w- there is only one set whether target 2000-07-04 02:06:00 +00:00
joy
kbd
lmc
lnc
mc146818
mca
mcd
md
mii
mlx
mse
musycc
null
nulldev
pccard
pcf
pci
pcic
pdq
ppbus
ppc
random
randomdev
ray
rc
rp
scd
sf
si
sio Style police catches up with rev 1.26 of src/sys/sys/sysctl.h: 2000-07-03 09:35:31 +00:00
sk
smbus
sn
snp
sound do-nothing module that depends on all sound drivers 2000-07-03 21:00:44 +00:00
speaker
sr
streams
sym - Various comment fixes and additions. 2000-07-02 21:26:50 +00:00
syscons
tdfx
ti
twe
tx
usb
vinum
vn Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
vr
vx
wi
wl
xe