git: kernel: Properly lock dounmount()
Francois Tigeot
ftigeot at crater.dragonflybsd.org
Sat Feb 9 07:26:32 PST 2013
commit effb40c8d1ffed9a461d4136a276566af7e29aaa
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Wed Feb 6 09:11:04 2013 +0100
kernel: Properly lock dounmount()
* dounmount() wasn't properly locked, make it grab the mntvnode_token
* It is necessary to synchronize against insmntque() clearing the vnode
linkage
* This commit fixes issue #2506
Thanks to vsrinivas for directions
Summary of changes:
sys/kern/vfs_syscalls.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/effb40c8d1ffed9a461d4136a276566af7e29aaa
--
DragonFly BSD source repository
More information about the Commits
mailing list