summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-11-11 21:30:52 +0000
committerrwatson <rwatson@FreeBSD.org>2004-11-11 21:30:52 +0000
commitd7f30dee5518a11ee5d88d8f182cfe6947cd1c4b (patch)
treec2d85888433fd3832e862acf5074db8a8e69c17d /sys/dev/acpica/acpi_pcib.c
parent311bbf454628bc9f76a88948bf3b565a790c4da1 (diff)
downloadFreeBSD-src-d7f30dee5518a11ee5d88d8f182cfe6947cd1c4b.zip
FreeBSD-src-d7f30dee5518a11ee5d88d8f182cfe6947cd1c4b.tar.gz
Correct a bug in nfsrv_create() where a call to nfsrv_access() might
be made holding the NFS server mutex. To clean this up, introduce a version of the function, nfsrv_access_withgiant(), that expects the NFS server mutex to already have been dropped and Giant acquired. Wrap nfsrv_access() around this. This permits callers to more efficiently check access if they're in a code block performing VFS operations, and can be substitited for the nfsrv_access() call that triggered this bug. PR: 73807, 73208 MFC after: 1 week
Diffstat (limited to 'sys/dev/acpica/acpi_pcib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud