Merge pull request #12347 from gregsfortytwo/wip-18157-fix

ceph-fuse: start up log on parent process before shutdown

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2016-12-07 15:59:57 -05:00 committed by GitHub
commit cd56396a8a

View File

@ -295,6 +295,8 @@ int main(int argc, const char **argv, const char *envp[]) {
//cout << "child done" << std::endl;
return r;
} else {
if (restart_log)
g_ceph_context->_log->start();
// i am the parent
//cout << "parent, waiting for signal" << std::endl;
::close(fd[1]);