]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove unused C_SnapFlush
authorJohn Spray <john.spray@redhat.com>
Tue, 5 Aug 2014 13:55:39 +0000 (14:55 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:17 +0000 (01:34 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc

index 659a6323be8764872b995ac0aa4c0c9b134f9dc4..f7e38627bed31931fa657b8c488e94489dce2645 100644 (file)
@@ -2635,15 +2635,6 @@ void Client::check_caps(Inode *in, bool is_delayed)
   }
 }
 
-struct C_SnapFlush : public Context {
-  Client *client;
-  Inode *in;
-  snapid_t seq;
-  C_SnapFlush(Client *c, Inode *i, snapid_t s) : client(c), in(i), seq(s) {}
-  void finish(int r) {
-    client->_flushed_cap_snap(in, seq);
-  }
-};
 
 void Client::queue_cap_snap(Inode *in, snapid_t seq)
 {