[DragonFlyBSD - Submit #2770] (New) [PATCH 1/2] sys/vfs/hammer: make variable names up-to-date with code

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Jan 16 09:09:59 PST 2015


Issue #2770 has been reported by tkusumi.

----------------------------------------
Submit #2770: [PATCH 1/2] sys/vfs/hammer: make variable names up-to-date with code
http://bugs.dragonflybsd.org/issues/2770

* Author: tkusumi
* Status: New
* Priority: Normal
* Assignee: 
* Category: VFS subsystem
* Target version: 
----------------------------------------
This patch cleans up variable name that should have been changed in cb51be265fcef7ce9c6382b7b17cbccecd966d80 and 68e079b82f22658eca6cf2a929ec220d30aa6e56 in 2008 when the low level storage allocation model was changed.

After these commits blockmap functions use "zone_offset" instead of "bmap_off" for function arguments, however prototypes in header files still use "bmap_off". Makes no binary difference but should be fixed for logical correctness.

\# grep -rI bmap_off sys/vfs/hammer sbin/hammer
sys/vfs/hammer/hammer.h:                        hammer_off_t bmap_off, int bytes);
sys/vfs/hammer/hammer.h:                        hammer_off_t bmap_off, int bytes);
sys/vfs/hammer/hammer.h:                        hammer_off_t bmap_off, int bytes);
sys/vfs/hammer/hammer.h:int hammer_blockmap_getfree(hammer_mount_t hmp, hammer_off_t bmap_off,
sys/vfs/hammer/hammer.h:hammer_off_t hammer_blockmap_lookup(hammer_mount_t hmp, hammer_off_t bmap_off,
sys/vfs/hammer/hammer.h:hammer_off_t hammer_undo_lookup(hammer_mount_t hmp, hammer_off_t bmap_off,
sbin/hammer/hammer_util.h:hammer_off_t blockmap_lookup(hammer_off_t bmap_off,


---Files--------------------------------
0001-sys-vfs-hammer-make-variable-names-up-to-date-with-c.patch (3.39 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list