From: Li Hong Date: Sat, 10 Apr 2010 13:57:11 +0000 (+0800) Subject: nilfs2: remove nilfs_segctor_init() in segment.c X-Git-Tag: v2.6.35-rc1~462^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154ac5a83014cd6ea72e4ac5018bf8c10ee9a79e;p=pandora-kernel.git 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 Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed