]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The temporary workaround for the call to the vget() without lock type in
authorkib <kib@FreeBSD.org>
Fri, 4 Apr 2008 09:37:57 +0000 (09:37 +0000)
committerkib <kib@FreeBSD.org>
Fri, 4 Apr 2008 09:37:57 +0000 (09:37 +0000)
commitdae02901d4b70eed4b1ba8f47235c1316e802c58
tree291eb8c5f3c57031a2baf19d82176467a01cd661
parent15c3f17df08bbfcf604019832f4f92806388ef32
The temporary workaround for the call to the vget() without lock type in
the fdesc_allocvp(). The caller of the fdesc_allocvp() expects that the
returned vnode is not reclaimed. Do lock the vnode exclusive and drop
the lock after.

Reported by: pho
Reviewed by: jeff
sys/fs/fdescfs/fdesc_vnops.c