freebsd-skq/sys
kib bf84540647 Handle a case in kern_openat() when vn_open() change file type from
DTYPE_VNODE.

Only acquire locks for O_EXLOCK/O_SHLOCK if file type is still vnode,
since we allow for fcntl(2) to process with advisory locks for
DTYPE_VNODE only. Another reason is that all fo_close() routines need to
check and release locks otherwise.

For O_TRUNC, call fo_truncate() instead of truncating the vnode.

Discussed with:	rwatson
MFC after:	2 week
2010-04-13 08:52:20 +00:00
..
amd64 Handle a case when non-canonical address is loaded into the fsbase or 2010-04-10 18:38:11 +00:00
arm Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the 2010-04-08 19:34:55 +00:00
boot Add a copyright. 2010-04-07 18:24:38 +00:00
bsm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
cam Nullify our periph pointer in dacleanup to try and catch 2010-04-02 20:08:44 +00:00
cddl The same code is used to import and to create pool. 2010-03-19 20:14:27 +00:00
compat Add a forward declaration to silence a warning when compiling ia32_genassym.c. 2010-04-03 12:34:32 +00:00
conf Add sbbc(4), a driver for the BootBus controller found in Serengeti and 2010-04-10 11:52:12 +00:00
contrib Update firmware for the 6000 series Intel cards to version 9.193.4.1. 2010-04-10 07:07:08 +00:00
crypto Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
ddb Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
dev The Quanta Q101 modem has a different type of cdrom driver disk, 2010-04-13 06:27:02 +00:00
fs Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
gdb Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
geom Bring in geom_sched, support for scheduling disk I/O requests 2010-04-12 16:37:45 +00:00
gnu Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
i386 Add EFI boot info fields. 2010-04-07 18:52:51 +00:00
ia64 Sync up to SDM 2.2. 2010-04-13 03:10:38 +00:00
isa Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
kern Handle a case in kern_openat() when vn_open() change file type from 2010-04-13 08:52:20 +00:00
kgssapi Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
libkern Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
mips Fix a bug where bus_dma_load_xxx() would not bounce misaligned buffers 2010-04-09 01:14:11 +00:00
modules Doh! Last minute changes bites me in the butt.... 2010-04-12 21:33:06 +00:00
net Take a reference to make sure that the interface cannot go away during 2010-04-11 18:47:38 +00:00
net80211 Add WPA-None support: 2010-04-10 13:54:00 +00:00
netatalk Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netgraph Start copyright notice with /*- 2010-04-07 16:29:10 +00:00
netinet Plug reference leaks in the link-layer code ("new-arp") that previously 2010-04-11 16:04:08 +00:00
netinet6 Plug reference leaks in the link-layer code ("new-arp") that previously 2010-04-11 16:04:08 +00:00
netipsec Fix a logic error in ipsec code that extracts 2010-04-02 18:15:23 +00:00
netipx Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netnatm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
nfsclient Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
opencrypto Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
pc98 Default the machdep.lapic_allclocks to be enabled in order to cope with 2010-04-09 14:22:09 +00:00
pci Consistently use capital letters. 2010-04-09 23:00:24 +00:00
powerpc With r205496 in place we should ensure that nargs and nreturns are always 2010-04-02 21:48:27 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
sparc64 Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs. 2010-04-11 15:35:17 +00:00
sun4v Change the arguments of exec_setregs() so that it receives a pointer 2010-03-25 14:24:00 +00:00
sys Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
ufs ffs_mount: remove redundant assignment of geom consumer to devvp.v_bufobj 2010-04-03 08:25:04 +00:00
vm Simplify vm_thread_swapin(). 2010-04-13 06:48:37 +00:00
x86 Default the machdep.lapic_allclocks to be enabled in order to cope with 2010-04-09 14:22:09 +00:00
xdr Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
xen Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
Makefile Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00