diff options
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 26e867087e95..b5327b4cdb34 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -386,13 +386,7 @@ static int ocfs2_create_new_meta_bhs(struct ocfs2_super *osb, | |||
386 | strcpy(eb->h_signature, OCFS2_EXTENT_BLOCK_SIGNATURE); | 386 | strcpy(eb->h_signature, OCFS2_EXTENT_BLOCK_SIGNATURE); |
387 | eb->h_blkno = cpu_to_le64(first_blkno); | 387 | eb->h_blkno = cpu_to_le64(first_blkno); |
388 | eb->h_fs_generation = cpu_to_le32(osb->fs_generation); | 388 | eb->h_fs_generation = cpu_to_le32(osb->fs_generation); |
389 | |||
390 | #ifndef OCFS2_USE_ALL_METADATA_SUBALLOCATORS | ||
391 | /* we always use slot zero's suballocator */ | ||
392 | eb->h_suballoc_slot = 0; | ||
393 | #else | ||
394 | eb->h_suballoc_slot = cpu_to_le16(osb->slot_num); | 389 | eb->h_suballoc_slot = cpu_to_le16(osb->slot_num); |
395 | #endif | ||
396 | eb->h_suballoc_bit = cpu_to_le16(suballoc_bit_start); | 390 | eb->h_suballoc_bit = cpu_to_le16(suballoc_bit_start); |
397 | eb->h_list.l_count = | 391 | eb->h_list.l_count = |
398 | cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb)); | 392 | cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb)); |