nilfs2: remove nilfs_segctor_init() in segment.c
commit154ac5a83014cd6ea72e4ac5018bf8c10ee9a79e
authorLi Hong <lihong.hi@gmail.com>
Sat, 10 Apr 2010 13:57:11 +0000 (10 21:57 +0800)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 10 May 2010 02:32:31 +0000 (10 11:32 +0900)
treeea772f3e5b301e1dbf81c6ff9821711c9de61db6
parent50614bcf29d0cec6df5b84c0d8331e8b8c7d72a7
nilfs2: remove nilfs_segctor_init() in segment.c

There are only two lines of code in nilfs_segctor_init(). From a logic
design view, the first line 'sci->sc_seq_done = sci->sc_seq_request;'
should be put in nilfs_segctor_new(). Even in nilfs_segctor_new(),
this initialization is needless because sci is kzalloc-ed. So
nilfs_segctor_init() is only a wrap call to
nilfs_segctor_start_thread().

Signed-off-by: Li Hong <lihong.hi@gmail.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/segment.c