diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-05-24 01:29:49 +0200 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-05-24 02:07:04 +0200 |
commit | 1c7b98212d6c0b498f9410ba7ed8daadb4c577ae (patch) | |
tree | a9c4cfe31e5eec909fdc47c7ff7f6a241a408ef1 /src/test/TestSignalHandlers.cc | |
parent | mon: verify that crush max does not exceed osd max (diff) | |
download | ceph-1c7b98212d6c0b498f9410ba7ed8daadb4c577ae.tar.xz ceph-1c7b98212d6c0b498f9410ba7ed8daadb4c577ae.zip |
Split common_init_daemonize from common_init_finish
Split off common_init_daemonize from common_init_finish. cfuse is a
daemon that calls common_init_finish, but handles daemonization itself.
This fixes cfuse.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/test/TestSignalHandlers.cc')
-rw-r--r-- | src/test/TestSignalHandlers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/TestSignalHandlers.cc b/src/test/TestSignalHandlers.cc index c117b00a570..4e4ccce05dc 100644 --- a/src/test/TestSignalHandlers.cc +++ b/src/test/TestSignalHandlers.cc @@ -95,7 +95,7 @@ int main(int argc, const char **argv) env_to_vec(args); common_init(args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0); - common_init_finish(&g_conf, 0); + common_init_finish(&g_conf); DEFINE_CONF_VARS(usage); FOR_EACH_ARG(args) { |