From: Sage Weil Date: Mon, 17 Aug 2015 19:22:57 +0000 (-0400) Subject: os/ObjectStore: drop sync() X-Git-Tag: v9.1.0~324^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1bb9bd9a4c88f1646ed083cbdef4432855006940;p=ceph.git os/ObjectStore: drop sync() No callers. Signed-off-by: Sage Weil --- diff --git a/src/os/FileStore.h b/src/os/FileStore.h index fdff2742cac..ad14d91b3da 100644 --- a/src/os/FileStore.h +++ b/src/os/FileStore.h @@ -572,7 +572,6 @@ public: void do_force_sync(); void start_sync(Context *onsafe); void sync(); - using JournalingObjectStore::sync; void _flush_op_queue(); void flush(); void sync_and_flush(); diff --git a/src/os/KeyValueStore.h b/src/os/KeyValueStore.h index 1e333429e9f..242c82f4732 100644 --- a/src/os/KeyValueStore.h +++ b/src/os/KeyValueStore.h @@ -591,9 +591,6 @@ class KeyValueStore : public ObjectStore, BufferTransaction &t); void start_sync() {} - void sync() {} - using ObjectStore::sync; - void flush() {} void set_fsid(uuid_d u) { fsid = u; } uuid_d get_fsid() { return fsid; } diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 489ff4dbccd..90f4ac3fe4c 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -2098,7 +2098,6 @@ public: ) = 0; virtual void sync(Context *onsync) {} - virtual void sync() {} virtual int flush_journal() { return -EOPNOTSUPP; }