git: sys/vfs/hammer: Define HAMMER_MAX_PFS in hammer_disk.h

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Dec 6 09:08:32 PST 2015


commit d43a0fe3aa067e8f83944689c35e33df9f84c2fd
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 5 20:04:08 2015 +0900

    sys/vfs/hammer: Define HAMMER_MAX_PFS in hammer_disk.h
    
    Maximum number of PFS (0 to 0xFFFF) is a part of ondisk definitions,
    so move HAMMER_MAX_PFS to hammer_disk.h.
    
    Also add HAMMER_MAX_PFSID which is (HAMMER_MAX_PFS - 1).

Summary of changes:
 sys/vfs/hammer/hammer_disk.h      | 3 +++
 sys/vfs/hammer/hammer_ioctl.h     | 2 --
 sys/vfs/hammer/hammer_rebalance.c | 2 +-
 sys/vfs/hammer/hammer_reblock.c   | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list