• Steven Whitehouse's avatar
    [GFS2] Remove uneeded endian conversion · 48516ced
    Steven Whitehouse authored
    
    
    In many places GFS2 was calling the endian conversion routines
    for an inode even when only a single field, or a few fields might
    have changed. As a result we were copying lots of data needlessly.
    
    This patch replaces those calls with conversion of just the
    required fields in each case. This should be faster and easier
    to understand. There are still other places which suffer from this
    problem, but this is a start in the right direction.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    48516ced
ops_address.c 19.1 KB