Skip to content

Commit

Permalink
librbd: Include WorkQueue.h since we use it
Browse files Browse the repository at this point in the history
We use m_work_queue of type ContextWQ in handle_update function but we
do not include common/WorkQueue.h that defines ContextWQ. This results
in dereference of an incomplete type and causes build error in latest
Fedora rawhide (future 26).

Fixes: http://tracker.ceph.com/issues/18862

Signed-off-by: Boris Ranto <branto@redhat.com>
  • Loading branch information
b-ranto committed Feb 9, 2017
1 parent b0f85b9 commit 480f828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librbd/Journal.h
Expand Up @@ -11,6 +11,7 @@
#include "common/Cond.h"
#include "common/Mutex.h"
#include "common/Cond.h"
#include "common/WorkQueue.h"
#include "journal/Future.h"
#include "journal/JournalMetadataListener.h"
#include "journal/ReplayEntry.h"
Expand All @@ -23,7 +24,6 @@
#include <string>
#include <unordered_map>

class ContextWQ;
class SafeTimer;
namespace journal {
class Journaler;
Expand Down

0 comments on commit 480f828

Please sign in to comment.