git: sbin/newfs_hammer: Don't bother initializing reserved ondisk field

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Sep 3 06:19:19 PDT 2016


commit c3cfd6ce08cb747fafb51f0719dce5883456e62d
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Sep 3 21:59:53 2016 +0900

    sbin/newfs_hammer: Don't bother initializing reserved ondisk field
    
    pfsd is bzero'd, so no need to explicitly zero clear a reserved field
    that isn't used for anything.
    
    The numbering for reserved fields has been reassigned in 77f7bc0a
    so as to cleanup mixed up name and numbering, based on the fact
    that reserved fields are not touched by anyone *except* for this.
    Doesn't break anything, but it should still just not care about it.

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 1 -
 1 file changed, 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list