freebsd-skq/sys
tjr 854348219c Do not attempt to free NULL dinodes (i_din1 or i_din2) in ffs_ifree().
These fields can be left as NULL if ffs_vget() allocates an inode but
fails before the dinode memory has been allocated. There are two cases
when this can occur: when we lose a race and another process has added
the inode to the hash, and when reading the inode off disk fails.

The bug was observed by Kris on one of the package-building machines.
See http://marc.theaimsgroup.com/?l=freebsd-current&m=105172731013411&w=2
In Kris's case, it was the bread() that failed because of a disk error.

The alternative to this patch is to ensure that ffs_vget() does not call
vput() when the inode that hasn't been properly initialised.
2003-05-01 06:41:59 +00:00
..
alpha Range check the syscall number before looking it up in the syscallnames[] 2003-04-30 17:59:27 +00:00
amd64 I changed the numbering of the MODINFOMD_SMAP during the commit, so 2003-05-01 04:18:02 +00:00
arm Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
boot Commit a missed change to keep in sync with the MI elf loader. 2003-05-01 04:39:22 +00:00
cam Fix compile errors on ia64 in dagetcapacity. Set block_len and maxsector 2003-05-01 05:16:13 +00:00
coda - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
compat Initialize tbuf in newstat_copyout() too. 2003-04-29 17:03:22 +00:00
conf Sync up with the files in the hammer branch in the p4 tree to get basic 2003-05-01 02:59:24 +00:00
contrib Resolve conflicts. 2003-04-29 19:11:00 +00:00
crypto Assembly files put thru the C preprocessor need to have C style comments. 2003-04-21 16:30:12 +00:00
ddb Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
dev I'm pleased to announce that Promise is now supporting the FreeBSD 2003-05-01 06:20:50 +00:00
fs Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
geom Don't emulate a MBR by handling the MBR::type attribute. It is 2003-05-01 01:51:28 +00:00
gnu This commit was generated by cvs2svn to compensate for changes in r113778, 2003-04-21 02:27:52 +00:00
i4b - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
i386 Hack to enable getting two different elf32 and elf64 loaders in the 2003-05-01 03:46:12 +00:00
ia64 Kill MID_MACHINE, its a.out specific, the only platform that supports 2003-04-30 23:16:33 +00:00
isa Only use the pc bios stuff on i386's. I think this might even be unused 2003-05-01 04:23:15 +00:00
isofs/cd9660 Rename vfs_stdsync function to vfs_stdnosync which matches more 2003-03-11 22:15:10 +00:00
kern Lock an update to a vm_object's ref_count. 2003-05-01 03:51:05 +00:00
libkern Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
modules Support functions for the new ACPI import. 2003-04-29 18:50:34 +00:00
net Fix some easy, global, lint warnings. In most cases, this means 2003-04-30 12:57:40 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
netgraph Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
netinet Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP. 2003-04-29 22:03:46 +00:00
netinet6 Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP. 2003-04-29 22:03:46 +00:00
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL). 2003-03-08 06:58:22 +00:00
netkey Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netnatm Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netncp - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
netsmb - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
nfsserver - Acquire the vm_object's lock when performing vm_object_page_clean(). 2003-04-24 04:31:25 +00:00
opencrypto Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pc98 Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
pccard 1. Allow drivers to query CIS strings from OLDCARD. 2003-04-23 23:39:21 +00:00
pci Add module data and version to the atm_subr and reference this info from the 2003-04-29 08:07:44 +00:00
posix4 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
powerpc Back out last commits. The elf64/elf32 kernel name thing was more pain 2003-05-01 03:33:28 +00:00
rpc
security - Acquire the vm_object's lock when performing vm_object_page_clean(). 2003-04-24 04:31:25 +00:00
sparc64 Back out last commits. The elf64/elf32 kernel name thing was more pain 2003-05-01 03:33:28 +00:00
sys Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values 2003-05-01 03:31:18 +00:00
tools MFp4: 2003-03-28 06:43:50 +00:00
ufs Do not attempt to free NULL dinodes (i_din1 or i_din2) in ffs_ifree(). 2003-05-01 06:41:59 +00:00
vm Extend the scope of the vm_object locking in vm_object_split(). 2003-05-01 05:06:33 +00:00
Makefile