From 4c8f320a7eb3531e9d7be06c1f010da88927e5aa Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 17 Feb 2016 18:28:11 +0800 Subject: [PATCH] OSD: fix fusestore hanging during stop/quit If both 'stop' and 'osd_objectstore_fuse' are set to true, then the fuse_store will be stopped first and then restarted and is left hanging, which is incorrect. Fixes: #14786 Signed-off-by: xie xingguo --- src/osd/OSD.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 7345d535301b..e7d2ee37c101 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1885,6 +1885,7 @@ int OSD::enable_disable_fuse(bool stop) derr << __func__ << " failed to rmdir " << mntpath << dendl; return r; } + return 0; } if (!fuse_store && g_conf->osd_objectstore_fuse) { dout(1) << __func__ << " enabling" << dendl; -- 2.47.3