git: sys/vfs/hammer: Remove union hammer_io_structure

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Dec 7 09:58:28 PST 2015


commit ff66f880ec08c2ec4d8cc89211dd59e8220b9d11
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Dec 7 21:19:52 2015 +0900

    sys/vfs/hammer: Remove union hammer_io_structure
    
    Remove union hammer_io_structure that was added in the early
    stage of hammer development. This has been used in a certain
    part of hammer_io.c, but the code is more clear without this.
    
    Using the existing HAMMER_ITOB() as well as a newly added
    HAMMER_ITOV() makes the code less complicated than using this
    union.

Summary of changes:
 sys/vfs/hammer/hammer.h    |  18 ++-----
 sys/vfs/hammer/hammer_io.c | 119 ++++++++++++++++++++++-----------------------
 2 files changed, 62 insertions(+), 75 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list