diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-11-11 21:30:52 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-11-11 21:30:52 +0000 |
commit | d7f30dee5518a11ee5d88d8f182cfe6947cd1c4b (patch) | |
tree | c2d85888433fd3832e862acf5074db8a8e69c17d /sys/dev/acpica/acpi_pcib.c | |
parent | 311bbf454628bc9f76a88948bf3b565a790c4da1 (diff) | |
download | FreeBSD-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