git: sys/vfs/hammer: Fix possible panic with vfs.hammer.debug_general=0x4000

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Aug 23 06:08:59 PDT 2015


commit a6af8eae0d572eee3ae44eeb3caab9bf3035020d
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Aug 23 19:53:33 2015 +0900

    sys/vfs/hammer: Fix possible panic with vfs.hammer.debug_general=0x4000
    
    bc996e6 needed to check NULL-elm case for node reblock
    when (vfs.hammer.debug_general & 0x4000) != 0.
    
    The above sysctl has 0 by default, so nothing will happen
    as long as keeping a default value when reblock starts.

Summary of changes:
 sys/vfs/hammer/hammer_reblock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6af8eae0d572eee3ae44eeb3caab9bf3035020d


-- 
DragonFly BSD source repository



More information about the Commits mailing list