Skip to content

Commit

Permalink
Fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorDenisov committed Jan 23, 2017
1 parent 65a2eac commit 78f614c
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/librbd/journal/Types.h
Expand Up @@ -126,8 +126,11 @@ struct SnapEventBase : public OpEventBase {
protected:
SnapEventBase() {
}
SnapEventBase(uint64_t op_tid, const std::string &_snap_name, const cls::rbd::SnapshotNamespace& _snap_namespace)
: OpEventBase(op_tid), snap_name(_snap_name), snap_namespace(_snap_namespace) {
SnapEventBase(uint64_t op_tid, const std::string &_snap_name,
const cls::rbd::SnapshotNamespace& _snap_namespace)
: OpEventBase(op_tid),
snap_name(_snap_name),
snap_namespace(_snap_namespace) {
}

void encode(bufferlist& bl) const;
Expand All @@ -140,7 +143,8 @@ struct SnapCreateEvent : public SnapEventBase {

SnapCreateEvent() {
}
SnapCreateEvent(uint64_t op_tid, const std::string &snap_name, const cls::rbd::SnapshotNamespace& snap_namespace)
SnapCreateEvent(uint64_t op_tid, const std::string &snap_name,
const cls::rbd::SnapshotNamespace& snap_namespace)
: SnapEventBase(op_tid, snap_name, snap_namespace) {
}

Expand All @@ -154,7 +158,8 @@ struct SnapRemoveEvent : public SnapEventBase {

SnapRemoveEvent() {
}
SnapRemoveEvent(uint64_t op_tid, const std::string &snap_name, const cls::rbd::SnapshotNamespace& snap_namespace)
SnapRemoveEvent(uint64_t op_tid, const std::string &snap_name,
const cls::rbd::SnapshotNamespace& snap_namespace)
: SnapEventBase(op_tid, snap_name, snap_namespace) {
}

Expand Down Expand Up @@ -190,7 +195,8 @@ struct SnapProtectEvent : public SnapEventBase {

SnapProtectEvent() {
}
SnapProtectEvent(uint64_t op_tid, const std::string &snap_name, const cls::rbd::SnapshotNamespace& snap_namespace)
SnapProtectEvent(uint64_t op_tid, const std::string &snap_name,
const cls::rbd::SnapshotNamespace& snap_namespace)
: SnapEventBase(op_tid, snap_name, snap_namespace) {
}

Expand All @@ -204,7 +210,8 @@ struct SnapUnprotectEvent : public SnapEventBase {

SnapUnprotectEvent() {
}
SnapUnprotectEvent(uint64_t op_tid, const std::string &snap_name, const cls::rbd::SnapshotNamespace &snap_namespace)
SnapUnprotectEvent(uint64_t op_tid, const std::string &snap_name,
const cls::rbd::SnapshotNamespace &snap_namespace)
: SnapEventBase(op_tid, snap_name, snap_namespace) {
}

Expand Down Expand Up @@ -233,7 +240,8 @@ struct SnapRollbackEvent : public SnapEventBase {

SnapRollbackEvent() {
}
SnapRollbackEvent(uint64_t op_tid, const std::string &snap_name, const cls::rbd::SnapshotNamespace& snap_namespace)
SnapRollbackEvent(uint64_t op_tid, const std::string &snap_name,
const cls::rbd::SnapshotNamespace& snap_namespace)
: SnapEventBase(op_tid, snap_name, snap_namespace) {
}

Expand Down

0 comments on commit 78f614c

Please sign in to comment.