git: sys/vfs/hammer: Get volume lock first

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Apr 12 09:07:22 PDT 2016


commit 2c9c65ca386b80c1a5dab045e411d1aca5de98d2
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Apr 13 00:25:42 2016 +0900

    sys/vfs/hammer: Get volume lock first
    
    Nothing critical but volume-add|del should get hmp->volume_lock
    before the conditional.

Summary of changes:
 sys/vfs/hammer/hammer_volume.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c9c65ca386b80c1a5dab045e411d1aca5de98d2


-- 
DragonFly BSD source repository


More information about the Commits mailing list