freebsd-dev/sys
KATO Takenori 6db918e371 Fix `lockmgr: locking against myself' panic by multi union mount of
same directory pair.

If we do:
    mount -t union a b
    mount -t union a b
then, (1) namei tries to lock fs which has been already locked by
first union mount and (2) union_root() tries to lock locked fs.  To
avoid first deadlock condition, unlock vnode if lowerrootvp is union
node, and to avoid second case, union_mount returns EDEADLK when multi
union mount is detected.
1997-04-14 10:52:25 +00:00
..
alpha Removed unused #includes. 1997-04-09 15:34:09 +00:00
amd64 GENERIC, LINT: 1997-04-14 00:35:25 +00:00
compat/linux Remove dependancy on UFS' DIRBLKSIZ definition. 1997-04-06 10:10:50 +00:00
compile
conf GENERIC, LINT: 1997-04-14 00:35:25 +00:00
ddb Everyone's favorite, i think: make DDB understand the arrow keys for the 1997-04-12 17:35:02 +00:00
dev Re-arange the selection and reselection code to hopefully kill the 1997-04-14 02:26:59 +00:00
fs Fix `lockmgr: locking against myself' panic by multi union mount of 1997-04-14 10:52:25 +00:00
geom Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
gnu Support NFS cookies in VOP_READDIR, allowing ext2fs filesystems to be 1997-04-05 12:23:44 +00:00
i386 Be more careful about how SCBs are cleaned up during error recovery. 1997-04-14 02:27:50 +00:00
isa Preserve some bits in the keyboard controller command byte when 1997-04-10 12:26:50 +00:00
isofs/cd9660 Get the declaration of `struct dirent' from <sys/dirent.h>, not from 1997-04-10 15:05:38 +00:00
kern Make a problem that I cannot reproduce go away for now. This commit 1997-04-14 01:28:58 +00:00
libkern Eliminate some function calls when locale not used 1997-04-04 19:08:19 +00:00
miscfs Fix `lockmgr: locking against myself' panic by multi union mount of 1997-04-14 10:52:25 +00:00
modules Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
msdosfs Get the declaration of `struct dirent' from <sys/dirent.h>, not from 1997-04-10 14:56:49 +00:00
net Don't include <sys/ioctl.h> in the kernel. Stage 6: include 1997-03-24 12:12:36 +00:00
netatalk Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
netinet Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
netipx Change IPX to use the pr_usrreqs structure. 1997-04-05 20:05:11 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nfs Fix various bugs in the locking protocol, allowing proper shared locks 1997-04-04 17:49:35 +00:00
nfsclient Fix various bugs in the locking protocol, allowing proper shared locks 1997-04-04 17:49:35 +00:00
nfsserver Fix various bugs in the locking protocol, allowing proper shared locks 1997-04-04 17:49:35 +00:00
pc98 Synchronize with sys/i386/i386/machdep.c revision 1.237. 1997-04-13 06:02:52 +00:00
pccard Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
pci Recognize ZNYX 314 cards that have a MAC address with the low bit set. 1997-04-05 07:59:41 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
scsi Implement dkstats for worm devices so they show up in iostat et al. 1997-04-04 22:12:55 +00:00
sys #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn't 1997-04-13 15:38:10 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Use smalllblktosize() instead of multiplying small block numbers 1997-04-10 13:17:09 +00:00
vm Unused variable (upobj is now purely handled within pmap) 1997-04-14 03:40:42 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00