[DragonFlyBSD - Submit #2770] (Closed) [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
Sat Jan 17 13:01:59 PST 2015
Issue #2770 has been updated by dillon.
Status changed from New to Closed
Committed to master in ae9ef1bfb314d93707e7df4ddde5ac54385a1632.
-Matt
----------------------------------------
Submit #2770: [PATCH 1/2] sys/vfs/hammer: make variable names up-to-date with code
http://bugs.dragonflybsd.org/issues/2770#change-12492
* Author: tkusumi
* Status: Closed
* 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