]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/FileStore: allow mount after umount
authorSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 20:26:31 +0000 (12:26 -0800)
committerSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 20:27:14 +0000 (12:27 -0800)
Clear the stop flag on successful shutdown so that we can start again
later.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/FileStore.cc

index 3f363f45f6c4d8200fb5f6ae07de7014e21db148..db5d592d5c256df58a7c1e061d1de6fde7f63d7f 100644 (file)
@@ -3140,6 +3140,7 @@ void FileStore::sync_entry()
       goto again;
     }
   }
+  stop = false;
   lock.Unlock();
 }