diff options
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 3dee61ebd69a..a2d3dcf70252 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -637,7 +637,8 @@ static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) | |||
637 | osb->s_atime_quantum = parsed_options.atime_quantum; | 637 | osb->s_atime_quantum = parsed_options.atime_quantum; |
638 | osb->preferred_slot = parsed_options.slot; | 638 | osb->preferred_slot = parsed_options.slot; |
639 | osb->osb_commit_interval = parsed_options.commit_interval; | 639 | osb->osb_commit_interval = parsed_options.commit_interval; |
640 | osb->local_alloc_bits = ocfs2_megabytes_to_clusters(sb, parsed_options.localalloc_opt); | 640 | osb->local_alloc_default_bits = ocfs2_megabytes_to_clusters(sb, parsed_options.localalloc_opt); |
641 | osb->local_alloc_bits = osb->local_alloc_default_bits; | ||
641 | 642 | ||
642 | status = ocfs2_verify_userspace_stack(osb, &parsed_options); | 643 | status = ocfs2_verify_userspace_stack(osb, &parsed_options); |
643 | if (status) | 644 | if (status) |
@@ -1425,6 +1426,7 @@ static int ocfs2_initialize_super(struct super_block *sb, | |||
1425 | 1426 | ||
1426 | osb->local_alloc_state = OCFS2_LA_UNUSED; | 1427 | osb->local_alloc_state = OCFS2_LA_UNUSED; |
1427 | osb->local_alloc_bh = NULL; | 1428 | osb->local_alloc_bh = NULL; |
1429 | INIT_DELAYED_WORK(&osb->la_enable_wq, ocfs2_la_enable_worker); | ||
1428 | 1430 | ||
1429 | init_waitqueue_head(&osb->osb_mount_event); | 1431 | init_waitqueue_head(&osb->osb_mount_event); |
1430 | 1432 | ||