From ab0e558961ed9b63c00ad1d09ee0f9f79fd62295 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 7 Nov 2017 14:17:25 -0500 Subject: [PATCH] librbd: default template parameter for C_SparseReadRequest Signed-off-by: Jason Dillaman --- src/librbd/io/ReadResult.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/librbd/io/ReadResult.h b/src/librbd/io/ReadResult.h index 76c9f0c21ca..f11e83286a6 100644 --- a/src/librbd/io/ReadResult.h +++ b/src/librbd/io/ReadResult.h @@ -15,6 +15,9 @@ struct CephContext; namespace librbd { + +struct ImageCtx; + namespace io { struct AioCompletion; @@ -54,7 +57,7 @@ public: uint64_t offset, size_t length, bufferlist &bl, int r); }; - template + template struct C_SparseReadRequest : public C_SparseReadRequestBase { ObjectReadRequest *request; Extents buffer_extents; -- 2.39.5