git: sys/vfs/hammer: Make hammer_blockmap_getfree() clear *curp on error case

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Apr 21 10:19:47 PDT 2015


commit ebadcc6a03cf84c75af34707d38dda1ea847418d
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Apr 21 21:04:38 2015 +0900

    sys/vfs/hammer: Make hammer_blockmap_getfree() clear *curp on error case
    
    - Set *curp to either 0 or 1 regardless of *errorp.
      The previous return(0); case does this then all should do this.

Summary of changes:
 sys/vfs/hammer/hammer_blockmap.c | 2 ++
 1 file changed, 2 insertions(+)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list