From: Colin Patrick McCabe Date: Thu, 6 Jan 2011 02:15:12 +0000 (-0800) Subject: common: dout_create_rank_symlink: init if needed X-Git-Tag: v0.25~372 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d386ea2ea0b6a834da37705ae785a85ee904d651;p=ceph.git common: dout_create_rank_symlink: init if needed Signed-off-by: Colin McCabe --- diff --git a/src/common/debug.cc b/src/common/debug.cc index 8604bf862055..95b1030d665c 100644 --- a/src/common/debug.cc +++ b/src/common/debug.cc @@ -52,6 +52,11 @@ int dout_handle_daemonize() int dout_create_rank_symlink(int n) { Mutex::Locker l(_dout_lock); + + if (_dout_need_open) + _dout_open_log(true); + + assert(_doss); return _doss->create_rank_symlink(n); }