Project

General

Profile

Actions

Submit #2770

closed

[PATCH 1/2] sys/vfs/hammer: make variable names up-to-date with code

Added by tkusumi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
VFS subsystem
Target version:
-
Start date:
01/16/2015
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by dillon over 9 years ago

  • Status changed from New to Closed

Committed to master in ae9ef1bfb314d93707e7df4ddde5ac54385a1632.

-Matt

Actions

Also available in: Atom PDF