summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-09-11 13:06:06 +0000
committerkib <kib@FreeBSD.org>2010-09-11 13:06:06 +0000
commit107ea66c07f4e9862fd2961da07c078eab84d05f (patch)
treefd0a7ea41044fca75b3c668faa23382cf15de3fb /tools
parentfe4368ea53d115c6ccdebffbc023513a6424ec3a (diff)
downloadFreeBSD-src-107ea66c07f4e9862fd2961da07c078eab84d05f.zip
FreeBSD-src-107ea66c07f4e9862fd2961da07c078eab84d05f.tar.gz
Protect mnt_syncer with the sync_mtx. This prevents a (rare) vnode leak
when mount and update are executed in parallel. Encapsulate syncer vnode deallocation into the helper function vfs_deallocate_syncvnode(), to not externalize sync_mtx from vfs_subr.c. Found and reviewed by: jh (previous version of the patch) Tested by: pho MFC after: 3 weeks
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud