diff options
Diffstat (limited to 'fs/reiserfs/bitmap.c')
-rw-r--r-- | fs/reiserfs/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/bitmap.c b/fs/reiserfs/bitmap.c index a4e2ed544bbe..f4f16fada14c 100644 --- a/fs/reiserfs/bitmap.c +++ b/fs/reiserfs/bitmap.c | |||
@@ -736,7 +736,7 @@ static inline int this_blocknr_allocation_would_make_it_a_large_file(reiserfs_bl | |||
736 | #ifdef DISPLACE_NEW_PACKING_LOCALITIES | 736 | #ifdef DISPLACE_NEW_PACKING_LOCALITIES |
737 | static inline void displace_new_packing_locality (reiserfs_blocknr_hint_t *hint) | 737 | static inline void displace_new_packing_locality (reiserfs_blocknr_hint_t *hint) |
738 | { | 738 | { |
739 | struct reiserfs_key * key = &hint->key; | 739 | struct in_core_key * key = &hint->key; |
740 | 740 | ||
741 | hint->th->displace_new_blocks = 0; | 741 | hint->th->displace_new_blocks = 0; |
742 | hint->search_start = hint->beg + keyed_hash((char*)(&key->k_objectid),4) % (hint->end - hint->beg); | 742 | hint->search_start = hint->beg + keyed_hash((char*)(&key->k_objectid),4) % (hint->end - hint->beg); |
@@ -777,7 +777,7 @@ static inline int old_way (reiserfs_blocknr_hint_t * hint) | |||
777 | 777 | ||
778 | static inline void hundredth_slices (reiserfs_blocknr_hint_t * hint) | 778 | static inline void hundredth_slices (reiserfs_blocknr_hint_t * hint) |
779 | { | 779 | { |
780 | struct reiserfs_key * key = &hint->key; | 780 | struct in_core_key * key = &hint->key; |
781 | b_blocknr_t slice_start; | 781 | b_blocknr_t slice_start; |
782 | 782 | ||
783 | slice_start = (keyed_hash((char*)(&key->k_dir_id),4) % 100) * (hint->end / 100); | 783 | slice_start = (keyed_hash((char*)(&key->k_dir_id),4) % 100) * (hint->end / 100); |