Skip to content

Commit

Permalink
sys/vfs/hammer: Revert one line from ccdea23
Browse files Browse the repository at this point in the history
- This needed to be kept with "btree" zone.

- No binary diff since these two macros are the same,
  and also this code has been #if0'd.
  • Loading branch information
kusumi committed Jul 2, 2015
1 parent ba218aa commit 91c2d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/vfs/hammer/hammer_blockmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ hammer_blockmap_alloc(hammer_transaction_t trans, int zone, int bytes,
* We do this for B-Tree and meta-data allocations to provide
* localization for updates.
*/
if ((zone == HAMMER_ZONE2_MAPPED_INDEX ||
if ((zone == HAMMER_ZONE_BTREE_INDEX ||
zone == HAMMER_ZONE_META_INDEX) &&
offset >= HAMMER_BIGBLOCK_OVERFILL &&
!((next_offset ^ blockmap->next_offset) & ~HAMMER_BIGBLOCK_MASK64)
Expand Down

0 comments on commit 91c2d0c

Please sign in to comment.