DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel: Properly lock dounmount()


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Feb 2013 07:26:32 -0800 (PST)

commit effb40c8d1ffed9a461d4136a276566af7e29aaa
Author: François Tigeot <ftigeot@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]