aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth/hccontrol/util.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-11-11 00:32:46 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-11-11 00:32:46 +0000
commitb46b1a899f4eb9351eca8e81cd275f916bcc6613 (patch)
treeaed0d793e26b6bc8ed724e971794cadf1451ea5a /usr.sbin/bluetooth/hccontrol/util.c
parent383df78dc811490c9fe9ba45f7be9a0229fcc911 (diff)
downloadsrc-b46b1a899f4eb9351eca8e81cd275f916bcc6613.tar.gz
src-b46b1a899f4eb9351eca8e81cd275f916bcc6613.zip
Stop using shared locks for nfs vop locks.
The reason this was done was to avoid a race to the root when an NFS server went down. However a semi-recent change to the way that the kernel's lookup() routine traverses mount points prevents this. Rev 1.39 of vfs_lookup.c changed the ordering of locks such that we aquire a shared lock on the mount point being accessed and then drop the directory vnode lock before requesting the target lock. With that in place we no longer need shared locks for NFS to prevent race to the root lockups.
Notes
Notes: svn path=/head/; revision=122450
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol/util.c')
0 files changed, 0 insertions, 0 deletions