1
0
mirror of https://github.com/ceph/ceph synced 2025-03-22 10:17:23 +00:00

rbd: fix return is missing in NotifyMessage::get_notify_op

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
This commit is contained in:
Yao Zongyou 2018-03-01 11:15:44 +08:00
parent 1932cd1a83
commit 2fa18ef9e0

View File

@ -382,7 +382,7 @@ void NotifyMessage::dump(Formatter *f) const {
}
NotifyOp NotifyMessage::get_notify_op() const {
apply_visitor(GetNotifyOpVisitor(), payload);
return apply_visitor(GetNotifyOpVisitor(), payload);
}
void NotifyMessage::generate_test_instances(std::list<NotifyMessage *> &o) {