Submit #2770
closed[PATCH 1/2] sys/vfs/hammer: make variable names up-to-date with code
0%
Description
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
Updated by dillon almost 10 years ago
- Status changed from New to Closed
Committed to master in ae9ef1bfb314d93707e7df4ddde5ac54385a1632.
-Matt