diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nilfs2/segment.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c index 9f50fde0cd06..89a15f4bfeb9 100644 --- a/fs/nilfs2/segment.c +++ b/fs/nilfs2/segment.c | |||
@@ -2685,13 +2685,6 @@ static void nilfs_segctor_kill_thread(struct nilfs_sc_info *sci) | |||
2685 | } | 2685 | } |
2686 | } | 2686 | } |
2687 | 2687 | ||
2688 | static int nilfs_segctor_init(struct nilfs_sc_info *sci) | ||
2689 | { | ||
2690 | sci->sc_seq_done = sci->sc_seq_request; | ||
2691 | |||
2692 | return nilfs_segctor_start_thread(sci); | ||
2693 | } | ||
2694 | |||
2695 | /* | 2688 | /* |
2696 | * Setup & clean-up functions | 2689 | * Setup & clean-up functions |
2697 | */ | 2690 | */ |
@@ -2815,7 +2808,7 @@ int nilfs_attach_segment_constructor(struct nilfs_sb_info *sbi) | |||
2815 | return -ENOMEM; | 2808 | return -ENOMEM; |
2816 | 2809 | ||
2817 | nilfs_attach_writer(nilfs, sbi); | 2810 | nilfs_attach_writer(nilfs, sbi); |
2818 | err = nilfs_segctor_init(NILFS_SC(sbi)); | 2811 | err = nilfs_segctor_start_thread(NILFS_SC(sbi)); |
2819 | if (err) { | 2812 | if (err) { |
2820 | nilfs_detach_writer(nilfs, sbi); | 2813 | nilfs_detach_writer(nilfs, sbi); |
2821 | kfree(sbi->s_sc_info); | 2814 | kfree(sbi->s_sc_info); |