diff options
author | kib <kib@FreeBSD.org> | 2006-08-08 12:29:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-08-08 12:29:26 +0000 |
commit | ecc9acd26891da5892fc77bf0ed0df59cf810c1e (patch) | |
tree | 15d2fbed2dbc5571937620818025af1a243af9d6 /usr.sbin/faithd/faithd.h | |
parent | 7c6c98a7255276df19be3353b070d8677f165cb6 (diff) | |
download | FreeBSD-src-ecc9acd26891da5892fc77bf0ed0df59cf810c1e.zip FreeBSD-src-ecc9acd26891da5892fc77bf0ed0df59cf810c1e.tar.gz |
Lock the vnode around the call to VOP_GETATTR. Move the locked code
and vn_fullpath (that call malloc(..., M_WAITOK)) from under the
vm object lock, since sleep is not allowed while holding the mutex.
Being there, wrap VOP_GETATTR call with conditional Giant aquire.
Currently this is (almost) noop because pseudofs is Giant-locked.
Tested by: kris
Approved by: pjd (mentor)
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/faithd/faithd.h')
0 files changed, 0 insertions, 0 deletions