From 1e0387a389625be8b77603e163df12f30fdeedf1 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 5 Aug 2014 14:55:39 +0100 Subject: [PATCH] client: remove unused C_SnapFlush Signed-off-by: John Spray --- src/client/Client.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 659a6323be876..f7e38627bed31 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -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) { -- 2.39.5