summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/sys/lock.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2003-05-16 19:46:51 +0000
committertruckman <truckman@FreeBSD.org>2003-05-16 19:46:51 +0000
commit80040f21a37a2d2eef35514413b78a71a3e10e1a (patch)
tree2fc687109c77609add7b5d6c4f67a9fa6a40d277 /lib/libpthread/sys/lock.c
parentc2a920683cbc3535c29dd87abea005f24d433681 (diff)
downloadFreeBSD-src-80040f21a37a2d2eef35514413b78a71a3e10e1a.zip
FreeBSD-src-80040f21a37a2d2eef35514413b78a71a3e10e1a.tar.gz
Detect that a vnode has been reclaimed while vflush() was waiting to lock
the vnode and restart the loop. Vflush() is vulnerable since it does not hold a reference to the vnode and it holds no other locks while waiting for the vnode lock. The vnode will no longer be on the list when the loop is restarted. Approved by: re (rwatson)
Diffstat (limited to 'lib/libpthread/sys/lock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud