git: HAMMER VFS - Adjust signedness of a media field for future de-dup

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 12 19:04:45 PDT 2010


commit 320a5c59a1e83c4392b5d5efba75163a286bd94c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 12 19:02:34 2010 -0700

    HAMMER VFS - Adjust signedness of a media field for future de-dup
    
    * Make bytes_free in hammer_blockmap_layer2 a signed field and remove
      KKASSERT() that disallowed a negative value.
    
      This field can go negative in a future data de-dup implementation.

Summary of changes:
 sys/vfs/hammer/hammer_blockmap.c |   19 +++++++++++++++----
 sys/vfs/hammer/hammer_disk.h     |   10 +++++++++-
 2 files changed, 24 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/320a5c59a1e83c4392b5d5efba75163a286bd94c


-- 
DragonFly BSD source repository





More information about the Commits mailing list