Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / librbd / journal / TypeTraits.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H
5 #define CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H
6
7 namespace journal {
8 class Future;
9 class Journaler;
10 class ReplayEntry;
11 }
12
13 namespace librbd {
14 namespace journal {
15
16 template <typename ImageCtxT>
17 struct TypeTraits {
18   typedef ::journal::Journaler Journaler;
19   typedef ::journal::Future Future;
20   typedef ::journal::ReplayEntry ReplayEntry;
21 };
22
23 } // namespace journal
24 } // namespace librbd
25
26 #endif // CEPH_LIBRBD_JOURNAL_TYPE_TRAITS_H